From dd1de39ece79b990a77a9175570bc82d54f9e692 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 28 Aug 2008 17:54:55 -0700 Subject: BR 2028995: Missing MOVNTI m64, r64 Fix MOVNTI with a 64-bit argument. --- insns.dat | 3 ++- test/movnti.asm | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 test/movnti.asm diff --git a/insns.dat b/insns.dat index 7de63726..eba621d3 100644 --- a/insns.dat +++ b/insns.dat @@ -1524,7 +1524,8 @@ MASKMOVDQU xmmreg,xmmreg \361\2\x0F\xF7\110 WILLAMETTE,SSE2 ; CLFLUSH needs its own feature flag implemented one day CLFLUSH mem \2\x0F\xAE\207 WILLAMETTE,SSE2 MOVNTDQ mem,xmmreg \361\2\x0F\xE7\101 WILLAMETTE,SSE2,SO -MOVNTI mem,reg32 \360\2\x0F\xC3\101 WILLAMETTE,SSE2,SD +MOVNTI mem,reg32 \360\2\x0F\xC3\101 WILLAMETTE,SD +MOVNTI mem,reg64 \324\360\2\x0F\xC3\101 X64,SQ MOVNTPD mem,xmmreg \361\2\x0F\x2B\101 WILLAMETTE,SSE2,SO LFENCE void \3\x0F\xAE\xE8 WILLAMETTE,SSE2 MFENCE void \3\x0F\xAE\xF0 WILLAMETTE,SSE2 diff --git a/test/movnti.asm b/test/movnti.asm new file mode 100644 index 00000000..d20d3c13 --- /dev/null +++ b/test/movnti.asm @@ -0,0 +1,10 @@ +;Testname=test; Arguments=-fbin -omovnti.bin; Files=.stdout .stderr movnti.bin +; BR 2028995 + + bits 16 + movnti [si],eax + bits 32 + movnti [esi],eax + bits 64 + movnti [rsi],eax + movnti [rsi],rax -- cgit v1.2.1