1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:10:27 -07:00
go/src/cmd
Damien Lespiau 23c5db9bbb cmd/asm: enable MOVSD in the encoding end-to-end test
MOVSD is properly handled but its encoding test wasn't enabled. Enable
it.

For reference this was found with a little tool I wrote [1] to explore
which instructions are missing or not tested in the go obj package and
assembler:

"which SSE2 instructions aren't tested? And don't list instructions
which can take MMX operands"

$ x86db-gogen list --extension SSE2 --not-tested --not-mmx
CLFLUSH mem           [m:  np 0f ae /7] WILLAMETTE,SSE2
MOVSD   xmmreg,xmmreg [rm: f2 0f 10 /r] WILLAMETTE,SSE2
MOVSD   xmmreg,xmmreg [mr: f2 0f 11 /r] WILLAMETTE,SSE2
MOVSD   mem64,xmmreg  [mr: f2 0f 11 /r] WILLAMETTE,SSE2
MOVSD   xmmreg,mem64  [rm: f2 0f 10 /r] WILLAMETTE,SSE2

(CLFLUSH was introduced with SSE2, but has its own CPUID bit)

[1] https://github.com/dlespiau/x86db

Change-Id: Ic3af3028cb8d4f02e53fdebb9b30fb311f4ee454
Reviewed-on: https://go-review.googlesource.com/42814
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-07 17:00:58 +00:00
..
addr2line cmd/go: build test binaries with -s in addition to -w 2017-03-29 17:18:16 +00:00
api api: promote next.txt to go1.8.txt, update go tool 2016-12-01 02:54:21 +00:00
asm cmd/asm: enable MOVSD in the encoding end-to-end test 2017-05-07 17:00:58 +00:00
cgo cmd/cgo: avoid C++ style comments 2017-04-22 00:53:51 +00:00
compile cmd/compile: add Func.SetNilCheckDisabled 2017-05-05 19:34:09 +00:00
cover cmd/cover: fix spelling mistake 2016-12-20 04:45:25 +00:00
dist cmd/dist: spin up fewer test dir runners 2017-05-02 13:39:51 +00:00
doc cmd/doc: implement "go doc struct.field" 2017-03-22 05:37:50 +00:00
fix cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
go cmd/go, cmd/compile: match tool versions 2017-05-04 20:19:48 +00:00
gofmt cmd/fix,cmd/gofmt: flush to disk before diffing 2017-03-30 18:19:57 +00:00
internal cmd/asm: fix operand order of ARM's MULA instruction 2017-05-06 01:28:38 +00:00
link cmd/link/internal/ld: fix external linking on windows 2017-05-06 06:11:31 +00:00
nm all: fix some printf format strings 2017-02-14 02:09:30 +00:00
objdump cmd/objdump: remove two unused types 2017-04-23 00:18:40 +00:00
pack all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
pprof cmd/pprof: update README to explain relationship with github.com/google/pprof 2017-04-10 19:51:01 +00:00
trace cmd/trace: document that trace viewer is only tested on chromium 2017-04-20 16:44:55 +00:00
vendor cmd/vendor/arch/x86: pull new version from x repo 2017-04-20 22:39:48 +00:00
vet cmd/compile: rework handling of udiv on ARM 2017-04-20 16:27:38 +00:00