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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 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@xxxxxxxxxx>

I would update to assemble language in V2.

Zeng Heng




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux