[LLVMdev] Bogus X86-64 Patterns

Evan Cheng evan.cheng at apple.com
Mon Dec 17 10:55:31 PST 2007


On Dec 17, 2007, at 10:04 AM, David Greene wrote:

> On Friday 14 December 2007 13:55, Evan Cheng wrote:
>> Actually, movq is recognized by the assembler on Leopard. I've fixed
>> this:
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-
>> Mon-20071210/056334.html
>>
>> Please verify. Thanks.
>
> The patch is similar to what I did.  I'll have to create an llvm  
> testcase to
> verify it as this is a Fortran code.  It would also be good to have a
> regression test for this anyway.
>
> Does the Leopard assembler support movq for rr instructions?  The
> rep64 movd sequence is ugly and esoteric.  It's much more readable
> to say movq.

I agree. But unfortunately the assembler still does not recognize movq  
for rr instructions. If this really bug you I'd suggest adding a  
comment to the emitted assembly string.

Evan

>
>
>                                           -Dave
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list