Fix the encoding of the movntdqa X86 instruction. It was missing the 0x66

prefix which is part of the opcode encoding.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Enderby 2010-02-10 00:10:31 +00:00
parent 5d672cfab0
commit 40fe18f66e
2 changed files with 4 additions and 1 deletions

View File

@ -3747,7 +3747,8 @@ def PTESTrm : SS48I<0x17, MRMSrcMem, (outs), (ins VR128:$src1, i128mem:$src2),
def MOVNTDQArm : SS48I<0x2A, MRMSrcMem, (outs VR128:$dst), (ins i128mem:$src),
"movntdqa\t{$src, $dst|$dst, $src}",
[(set VR128:$dst, (int_x86_sse41_movntdqa addr:$src))]>;
[(set VR128:$dst, (int_x86_sse41_movntdqa addr:$src))]>,
OpSize;
//===----------------------------------------------------------------------===//

View File

@ -9,3 +9,5 @@ sbbb $0xfe,0xdeadbeef(%ebx,%ecx,8)
psllw 69, %mm3
# CHECK: encoding: [0x0f,0xf1,0x1d,0x45,0x00,0x00,0x00]
movntdqa 0xdeadbeef(%ebx,%ecx,8),%xmm5
# CHECK: encoding: [0x66,0x0f,0x38,0x2a,0xac,0xcb,0xef,0xbe,0xad,0xde]