[llvm-commits] [llvm] r72808 - /llvm/trunk/lib/Target/X86/X86InstrMMX.td

Evan Cheng evan.cheng at apple.com
Wed Jun 3 15:31:47 PDT 2009


Also, you didn't commit a test case for this.

Evan

On Jun 3, 2009, at 3:20 PM, Evan Cheng wrote:

> Stuart, this doesn't look right. The source in the pattern and the  
> instruction are of different register classes. One is FR64, the  
> other is VR128.
>
> Evan
>
> On Jun 3, 2009, at 2:39 PM, Stuart Hastings wrote:
>>
>>
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> = 
>> =====================================================================
>> --- llvm/trunk/lib/Target/X86/X86InstrMMX.td (original)
>> +++ llvm/trunk/lib/Target/X86/X86InstrMMX.td Wed Jun  3 16:39:14 2009
>> @@ -680,6 +680,8 @@
>> def : Pat<(v8i8 (bitconvert (i64 (vector_extract (v2i64 VR128:$src),
>>                                                   (iPTR 0))))),
>>           (v8i8 (MMX_MOVDQ2Qrr VR128:$src))>;
>> +def : Pat<(v2i32 (bitconvert (f64 FR64:$src))),
>> +          (v2i32 (MMX_MOVDQ2Qrr VR128:$src))>;
>>
>> // CMOV* - Used to implement the SELECT DAG operation.  Expanded by  
>> the
>> // scheduler into a branch sequence.
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090603/3f0a9903/attachment.html>


More information about the llvm-commits mailing list