[LLVMdev] X86TargetLowering::LowerToBT

Chris Sears chris.sears at gmail.com
Thu Jan 22 14:05:55 PST 2015


I think the partial update issue isn't really valid concern, Agner Fogg, p
142. I don't think LLVM is going to emit this fragment.

*; Example 10.7. Partial register access*
*bt eax,2 ; modifies carry flag but not zero flag*
*cmovbe eax,ebx ; reads both carry flag and zero flag *

In cases like this, you may consider whether it is a programming error or a
deliberate testing of two different conditions with a single instruction.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150122/dc625b7c/attachment.html>


More information about the llvm-dev mailing list