<div dir="ltr">The problem is that REX TEST reg,#(1<<37) is 10 bytes vs 5 bytes for REX BT reg,37.<div>That's a large space penalty to pay for a possible partial update stall.</div><div><br></div><div>So the idea of generating BT for -Os and TEST for -Ofast makes sense to me.</div><div>Regardless, LowerToBT is generating TEST for small values.</div><div><br></div><div>I'm still tracking down the Clang issue and I'd like folks to look at that.</div></div>