[llvm-commits] patch: use movd for 32-bits and movq for 64-bits consistently

Eli Friedman eli.friedman at gmail.com
Thu Jun 16 15:29:21 PDT 2011


On Thu, Jun 16, 2011 at 2:33 PM, Anton Korobeynikov <asl at math.spbu.ru> wrote:
>> IIRC, we do things the way we do (outside of parsing asm) because the
>> old Darwin assembler wouldn't accept "movq %rax, %xmm0", and required
>> "movd %rax, %xmm0" instead.  I don't recall all the details of that,
>> though.
> Yeah. Probably it's safe nowadays to get rid of this workaround?

Note that even if we do decide to get rid of that workaround, we still
need to do the right thing with "movd %rax, %xmm0".

-Eli




More information about the llvm-commits mailing list