[PATCH 2/5] kselftest/arm64: add crc32 feature to hwcap test

Mark Brown broonie at kernel.org
Tue Aug 8 05:28:06 PDT 2023


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

> +static void crc32_sigill(void)
> +{
> +	/* CRC32W W0, W0, W1 */
> +	asm volatile(".inst 0x1ac14800" : : : );
> +}

Same here, you could assemble rather than hand encode but 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/4f614c0e/attachment.sig>


More information about the linux-arm-kernel mailing list