Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: insn: Add SVE instruction class

SVE has been public for some time now. Let the decoder acknowledge
its existence.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Link: https://lore.kernel.org/r/20210303170536.1838032-6-jthierry@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Julien Thierry and committed by
Will Deacon
427bfc59 72fd7236

+2 -1
+1
arch/arm64/include/asm/insn.h
··· 31 31 */ 32 32 enum aarch64_insn_encoding_class { 33 33 AARCH64_INSN_CLS_UNKNOWN, /* UNALLOCATED */ 34 + AARCH64_INSN_CLS_SVE, /* SVE instructions */ 34 35 AARCH64_INSN_CLS_DP_IMM, /* Data processing - immediate */ 35 36 AARCH64_INSN_CLS_DP_REG, /* Data processing - register */ 36 37 AARCH64_INSN_CLS_DP_FPSIMD, /* Data processing - SIMD and FP */
+1 -1
arch/arm64/lib/insn.c
··· 23 23 static const int aarch64_insn_encoding_class[] = { 24 24 AARCH64_INSN_CLS_UNKNOWN, 25 25 AARCH64_INSN_CLS_UNKNOWN, 26 - AARCH64_INSN_CLS_UNKNOWN, 26 + AARCH64_INSN_CLS_SVE, 27 27 AARCH64_INSN_CLS_UNKNOWN, 28 28 AARCH64_INSN_CLS_LDST, 29 29 AARCH64_INSN_CLS_DP_REG,