[llvm-branch-commits] [llvm-branch] r75706 - /llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td

Bill Wendling isanbard at gmail.com
Tue Jul 14 16:12:55 PDT 2009


Author: void
Date: Tue Jul 14 18:12:55 2009
New Revision: 75706

URL: http://llvm.org/viewvc/llvm-project?rev=75706&view=rev
Log:
--- Merging r73989 into '.':
U    lib/Target/X86/X86InstrMMX.td

"The MMX_MASKMOVQ and MMX_MASKMOVQ64 instructions are labeled as MRMDestMem
instructions, which implies that there is an explicit memory operand.  There is
(however) no explicit memory operand; although this is a store, the only memory
operand is implicit, indicated by DS:EDI.  This causes the table-generation code
for the disassembler to report an error."

Patch by Sean Callanan!

Modified:
    llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td

Modified: llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td?rev=75706&r1=75705&r2=75706&view=diff

==============================================================================
--- llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td (original)
+++ llvm/branches/Apple/Bender-SWB/lib/Target/X86/X86InstrMMX.td Tue Jul 14 18:12:55 2009
@@ -481,11 +481,11 @@
 
 // Misc.
 let Uses = [EDI] in
-def MMX_MASKMOVQ : MMXI<0xF7, MRMDestMem, (outs), (ins VR64:$src, VR64:$mask),
+def MMX_MASKMOVQ : MMXI<0xF7, MRMSrcReg, (outs), (ins VR64:$src, VR64:$mask),
                         "maskmovq\t{$mask, $src|$src, $mask}",
                         [(int_x86_mmx_maskmovq VR64:$src, VR64:$mask, EDI)]>;
 let Uses = [RDI] in
-def MMX_MASKMOVQ64: MMXI64<0xF7, MRMDestMem, (outs), (ins VR64:$src, VR64:$mask),
+def MMX_MASKMOVQ64: MMXI64<0xF7, MRMSrcReg, (outs), (ins VR64:$src, VR64:$mask),
                            "maskmovq\t{$mask, $src|$src, $mask}",
                            [(int_x86_mmx_maskmovq VR64:$src, VR64:$mask, RDI)]>;
 





More information about the llvm-branch-commits mailing list