[PATCH v2 04/42] arm64/sve: Make access to FFR optional

Mark Brown broonie at kernel.org
Tue Oct 19 06:17:25 PDT 2021


On Tue, Oct 19, 2021 at 11:14:47AM +0100, Will Deacon wrote:

> > -1:	sve_flush_p_ffr
> > +1:	cbz		x0, 2f
> > +	sve_flush_p
> > +2:	sve_flush_ffr
> >  	ret

> I'm confused by this -- x0 seems to control whether or not we flush the
> predicate registers rather then ffr.

Yes, that's buggy - it got broken with rebasing for skipping the Z
register flush.  Thanks for spotting, sorry about that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211019/1d4ee1f2/attachment.sig>


More information about the linux-arm-kernel mailing list