On 11/22/2011 12:11 PM, Bodart, Mitch L wrote: > Unfortunately the source change suggestion didn't work, but that's OK because > I can make the asm work by eliminating some register pressure.
Hmm. Well, if you keep that "memory" clobber there, you don't actually need to represent the RW memory as an output at all -- we're indicating that all memory is changed. Try just "=r"(out) : "m"(*ptr) and see if that works. Otherwise... well, you've got your register pressure reduction. r~