[llvm-commits] [llvm] r118331 - in /llvm/trunk/lib/Target/X86: AsmParser/X86AsmParser.cpp X86InstrInfo.td

Chris Lattner sabre at nondot.org
Sat Nov 6 13:41:32 PDT 2010


On Nov 6, 2010, at 1:09 PM, Bill Wendling wrote:

> On Nov 6, 2010, at 12:34 AM, Chris Lattner wrote:
> 
>> Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=118331&r1=118330&r2=118331&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
>> +++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Sat Nov  6 02:34:58 2010
>> @@ -1370,6 +1370,10 @@
>> // Assembler Instruction Aliases
>> //===----------------------------------------------------------------------===//
>> 
>> +// movsd with no operands (as opposed to the SSE scalar move of a double) is an
>> +// alias for movsl. (as in rep; movsd)
>> +def : InstAlias<"movsd", (MOVSD)>;
>> +
> I'm not too familiar with the InstAlias, so this question may be stupid. But shouldn't the MOVSD be MOVSL in this case?

Nope, the asmstring for the MOVSD record is "movsl".

-Chris



More information about the llvm-commits mailing list