Skip to content

Commit 427bfc5

Browse files
Julien Thierrywilldeacon
authored andcommitted
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>
1 parent 72fd723 commit 427bfc5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

arch/arm64/include/asm/insn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
*/
3232
enum aarch64_insn_encoding_class {
3333
AARCH64_INSN_CLS_UNKNOWN, /* UNALLOCATED */
34+
AARCH64_INSN_CLS_SVE, /* SVE instructions */
3435
AARCH64_INSN_CLS_DP_IMM, /* Data processing - immediate */
3536
AARCH64_INSN_CLS_DP_REG, /* Data processing - register */
3637
AARCH64_INSN_CLS_DP_FPSIMD, /* Data processing - SIMD and FP */

arch/arm64/lib/insn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
static const int aarch64_insn_encoding_class[] = {
2424
AARCH64_INSN_CLS_UNKNOWN,
2525
AARCH64_INSN_CLS_UNKNOWN,
26-
AARCH64_INSN_CLS_UNKNOWN,
26+
AARCH64_INSN_CLS_SVE,
2727
AARCH64_INSN_CLS_UNKNOWN,
2828
AARCH64_INSN_CLS_LDST,
2929
AARCH64_INSN_CLS_DP_REG,

0 commit comments

Comments
 (0)