<div dir="ltr">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.<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><i>; Example 10.7. Partial register access</i></div><div><i>bt eax,2 ; modifies carry flag but not zero flag</i></div><div><i>cmovbe eax,ebx ; reads both carry flag and zero flag </i></div><div><br></div><div>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.</div></blockquote></div>