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

Eli Friedman eli.friedman at gmail.com
Thu Jun 16 14:23:58 PDT 2011


On Thu, Jun 16, 2011 at 2:00 PM, Nick Lewycky <nlewycky at google.com> wrote:
> Ping!
> This is blocking hand-written assembly in OpenSSL from assembling. My
> initial reaction was to fix openssl, but upon further investigation it looks
> like llvm is wrong and openssl has it right. Please take a look at this, the
> patch was attached to this
> mail: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110613/122254.html

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.

-Eli




More information about the llvm-commits mailing list