[LLVMdev] X86TarIgetLowering::LowerToBT

Stephen Canon scanon at apple.com
Fri Jan 23 10:24:29 PST 2015


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

You can’t use testq for bit 31, because the immediate gets sign-extended.  You *can* use the 32b form, of course.



More information about the llvm-dev mailing list