basic asm and memory clobbers

Paul_Koning@Dell.com Paul_Koning@Dell.com
Mon Nov 23 21:44:00 GMT 2015


> On Nov 23, 2015, at 4:36 PM, David Wohlferd <dw@LimeGreenSocks.com> wrote:
> 
> ...
>> The more I think about it, I'm just not keen on forcing all those old-style asms to change.
> 
> If you mean you aren't keen to change them to "clobber all," I'm with you.  If you are worried about changing them from basic to extended, what kinds of problems do you foresee?  I've been reading a lot of basic asm lately, and it seems to me that most of it would be fine with a simple colon.  Certainly no worse than the current behavior.

I'm not sure.  I have some asm("sync") which I think assume that this means asm("sync"::"memory")

	paul



More information about the Gcc mailing list