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

Zeng Heng zengheng4 at huawei.com
Tue Aug 8 05:48:01 PDT 2023


在 2023/8/8 20:25, Mark Brown 写道:
> 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>

I would update to assemble language in V2.

Zeng Heng




More information about the linux-arm-kernel mailing list