[PATCH v1] kselftest/arm64: Use preferred form for predicate load/stores

Mark Brown broonie at kernel.org
Thu Nov 17 04:52:46 PST 2022


On Thu, Nov 17, 2022 at 11:52:22AM +0000, Mark Rutland wrote:
> On Thu, Nov 17, 2022 at 11:41:30AM +0000, Mark Brown wrote:

> > The preferred form of the str/ldr for predicate registers with an immediate
> > of zero is to omit the zero, and the clang built in assembler rejects the
> > zero immediate. Drop the immediate.

> Rejecting that outright seems like a bug in clang, given there are legitimate
> reasons to write code that way (e.g. using asm-offsets style definitions); has
> that been reported so that it can be fixed?

I believe it's been reported, yes.
-------------- 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/20221117/e131374c/attachment.sig>


More information about the linux-arm-kernel mailing list