[PATCH 1/5] kselftest/arm64: add float-point feature to hwcap test

Mark Brown broonie at kernel.org
Tue Aug 8 05:25:24 PDT 2023


On Tue, Aug 08, 2023 at 02:13:51PM +0800, Zeng Heng wrote:

> +static void fp_sigill(void)
> +{
> +	/* FMOV	S0, #1 */
> +	asm volatile(".inst 0x1e2e1000" : : : );
> +}
> +

That should assemble even with the toolchain configured for v8.0 so
there shouldn't be any need to hand encode here.  Otherwise

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- 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/20230808/f774d78d/attachment.sig>


More information about the linux-arm-kernel mailing list