BR 2028995: Missing MOVNTI m64, r64

Fix MOVNTI with a 64-bit argument.
This commit is contained in:
H. Peter Anvin 2008-08-28 17:54:55 -07:00
parent 3ba3af3290
commit dd1de39ece
2 changed files with 12 additions and 1 deletions

View File

@ -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

10
test/movnti.asm Normal file
View File

@ -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