On Mon, Oct 15, 2018 at 10:45:08PM +0300, Alexander Monakov wrote:
> On Mon, 15 Oct 2018, Segher Boessenkool wrote:
> > On Sun, Oct 14, 2018 at 11:07:20PM +0300, Alexander Monakov wrote:
> > > For Basic asms, no similar mechanism is necessary since they are 
> > > antithetical
> > > to efficiency in the first place.
> > 
> > I missed this part.
> > 
> >   asm("bla");
> > 
> > means almost the same as
> > 
> >   asm("bla" : );
> > 
> > and there is nothing in there that is bad for optimisation.
> 
> The extended asm does not clobber all memory, unlike its basic counterpart.

Yeah, that's new in GCC 7, and I keep forgetting.  I'm still in the
denial phase for this.


Segher

Reply via email to