aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm
diff options
context:
space:
mode:
authorisharipo <iskander.sharipov@intel.com>2017-08-18 13:33:00 +0300
committerIlya Tocar <ilya.tocar@intel.com>2017-09-06 15:37:00 +0000
commit4074e4e5be5988a0c168eeba6417e7aceac7d9a5 (patch)
tree863ca99229b3b79fb80a108dc21db2df471ec5cc /src/cmd/asm
parent26dadbe32ce5b9d705ef38279e1f85fbbdf58287 (diff)
downloadgo-4074e4e5be5988a0c168eeba6417e7aceac7d9a5.tar.xz
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>
Diffstat (limited to 'src/cmd/asm')
-rw-r--r--src/cmd/asm/internal/asm/testdata/amd64enc.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/amd64enc.s b/src/cmd/asm/internal/asm/testdata/amd64enc.s
index 534854f845..ed80f6f92e 100644
--- a/src/cmd/asm/internal/asm/testdata/amd64enc.s
+++ b/src/cmd/asm/internal/asm/testdata/amd64enc.s
@@ -771,8 +771,8 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0
//TODO: CLAC // 0f01ca
CLC // f8
CLD // fc
- //TODO: CLFLUSH (BX) // 0fae3b
- //TODO: CLFLUSH (R11) // 410fae3b
+ CLFLUSH (BX) // 0fae3b
+ CLFLUSH (R11) // 410fae3b
//TODO: CLFLUSHOPT (BX) // 660fae3b
//TODO: CLFLUSHOPT (R11) // 66410fae3b
CLI // fa