[X86] Add disassembler support for the 0x0f 0x7f form of movq %mm, %mm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2014-04-17 06:33:45 +00:00
parent 67283b8a5e
commit 61070beae0
2 changed files with 8 additions and 0 deletions

View File

@ -254,6 +254,11 @@ let neverHasSideEffects = 1 in
def MMX_MOVQ64rr : MMXI<0x6F, MRMSrcReg, (outs VR64:$dst), (ins VR64:$src),
"movq\t{$src, $dst|$dst, $src}", [],
IIC_MMX_MOVQ_RR>;
let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in {
def MMX_MOVQ64rr_REV : MMXI<0x7F, MRMDestReg, (outs VR64:$dst), (ins VR64:$src),
"movq\t{$src, $dst|$dst, $src}", [],
IIC_MMX_MOVQ_RR>;
}
} // SchedRW
let SchedRW = [WriteLoad] in {

View File

@ -708,3 +708,6 @@
# CHECK: movl $4294967295, %eax
0xc7 0xc0 0xff 0xff 0xff 0xff
# CHECK: movq %mm0, %mm1
0x0f 0x7f 0xc1