[LLVMdev] X86TarIgetLowering::LowerToBT

Chris Sears chris.sears at gmail.com
Fri Jan 23 10:18:49 PST 2015


Thanks Kevin, Sanjay sent me the icc out put.

icc generates testq for 0-30 and btq for 31-63.
That seems like a small bug in the bit 31 case.

Why is it generating testq rather than test for bits 0-30?
Does the assembler relax that into test, no REX prefix?

I'm mostly interested in the X86_64 (Intel64?) case.
Reading the man pages, icc and llvm -Os are similar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150123/dbeebac4/attachment.html>


More information about the llvm-dev mailing list