Re: [PATCH] new ".serialize" gas directive

Chris Wedgwood
2004-06-16T01:54:15Z

On Wed, May 05, 2004 at 10:15:56PM -0700, David Mosberger wrote:

> I'm not sure whether GCC ought to be emitting .pred.rel.mutex p6,p7
> or whether GAS is supposed to be smart enough to figure this out on
> its own.

I was just looking over the nested fault handler this thread came to
mind.

There is exactly that situation with '.pred.rel "mutex", p6, p7' where
gas should be able to infer this from the 'cmp.eq p6,p7 = 5,r17'
preceding this and there are no intermediate labels.

Perhaps there is a reason why gas works this way that I'm missing?

--cw