<div dir="ltr">'Bug' may be too strong a word. Their emitted code is correct<div>else it would have failed one of their test suites.<div><div><br></div><div>They could use TESTL as well for bit 31.</div><div>So I'll be curious to see what Intel's guidelines are.</div><div>They don't mention this in their Optimization manual.</div><div><div><br></div></div></div><div><div>Right now, I'm convinced that TEST should be used when it's available.<br></div></div><div>But even with partial flag hazards, BT is not worth avoiding for 32-63.</div><div>For the -Oz case it's worth emitting for bits 8-63.</div><div><br></div></div></div>