[LLVMdev] X86TargetLowering::LowerToBT

Eric Christopher echristo at gmail.com
Thu Jan 22 15:34:16 PST 2015


On Thu Jan 22 2015 at 3:32:53 PM Chris Sears <chris.sears at gmail.com> wrote:

> The status quo is:
>
> a) 40b REX+BT instruction for the 64b case
> b) 48b TEST for the 32b case
> c) unless it's small TEST
>
>
> You are currently paying a 16b penalty for TEST vs BT in the 32b case.
> That may be worth testing the -Os flag.
>

You'll want -Oz here, Os isn't supposed to affect the runtime as much as
this is going to.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150122/f30cc3b9/attachment.html>


More information about the llvm-dev mailing list