Hi Greg, I think the simplest solution to this would be, as Jim said, to *always* revert the mode back to what it was before the inline asm, regardless of what the inlined piece does. http://llvm-reviews.chandlerc.com/D2255