I find the subject a little weird. What you're doing is to clean up the C version, which also tends to micro-optimize the x86 assembly generation for a specifi compiler. Which is good on two counts, so I'm all for the patch, but I don't really think it's "combining", which really made me think of testing two flags in one call.