]> Cypherpunks repositories - gostls13.git/commit
cmd/asm: add amd64 CLFLUSH instruction
authorisharipo <iskander.sharipov@intel.com>
Fri, 18 Aug 2017 10:33:00 +0000 (13:33 +0300)
committerIlya Tocar <ilya.tocar@intel.com>
Wed, 6 Sep 2017 15:37:00 +0000 (15:37 +0000)
commit4074e4e5be5988a0c168eeba6417e7aceac7d9a5
tree863ca99229b3b79fb80a108dc21db2df471ec5cc
parent26dadbe32ce5b9d705ef38279e1f85fbbdf58287
cmd/asm: add amd64 CLFLUSH instruction

This is the last instruction I found missing in SSE2 set.

It does not reuse 'yprefetch' ytabs due to differences in
operands SRC/DST roles:
- PREFETCHx: ModRM:r/m(r) -> FROM
- CLFLUSH:   ModRM:r/m(w) -> TO

unaryDst map is extended accordingly.

Change-Id: I89e34ebb81cc0ee5f9ebbb1301bad417f7ee437f
Reviewed-on: https://go-review.googlesource.com/56833
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ilya Tocar <ilya.tocar@intel.com>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/testdata/amd64enc.s
src/cmd/internal/obj/x86/a.out.go
src/cmd/internal/obj/x86/anames.go
src/cmd/internal/obj/x86/asm6.go
src/cmd/internal/obj/x86/obj6.go