[PATCH v4 3/8] arm64/fpsimdmacros: Allow the macro "for" to be used in more cases

Dave Martin Dave.Martin at arm.com
Tue Sep 22 09:51:41 EDT 2020


On Mon, Sep 21, 2020 at 07:09:10PM +0100, Mark Brown wrote:
> On Mon, Sep 21, 2020 at 05:53:32PM +0100, Dave Martin wrote:
> 
> > I think the idea with this patch was to make sure that .altmacro is
> > only in effect for the internals of _for: it gets turned off again
> > before expanding any other macro, and at the end.
> 
> Yes, this was my understanding of what this was doing when I looked
> through things when taking over the code - if we're going to use a
> different macro mode to the rest of the code then it seems sensible to
> make sure we don't try to build any other code with that macro mode
> otherwise it'll doubtless blow up in our faces at some point.

I think that it's unlikely ever to be used except for this kind of
purpose, since it doesn't offer much over normal macro mode.

altmacro mode is off by default, and can't be turned on via command-line
options IIRC, so it seems unlikely to be turned on everywhere by
accident.

Cheers
---Dave



More information about the linux-arm-kernel mailing list