From 27f6a0bd65b92b265200392e4e9a323f626342be Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Thu, 30 Mar 2023 11:09:13 +0100 Subject: aarch64: Add the SME2 maximum/minimum instructions This patch adds the SME2 multi-register forms of F{MAX,MIN}{,NM} and {S,U}{MAX,MIN}. SQDMULH, SRSHL and URSHL have the same form as SMAX etc., so the patch adds them too. --- opcodes/aarch64-asm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'opcodes/aarch64-asm.c') diff --git a/opcodes/aarch64-asm.c b/opcodes/aarch64-asm.c index ae699ec2cd5..f2b7d7d2d62 100644 --- a/opcodes/aarch64-asm.c +++ b/opcodes/aarch64-asm.c @@ -1958,6 +1958,11 @@ aarch64_encode_variant_using_iclass (struct aarch64_inst *inst) aarch64_get_variant (inst), 0); break; + case sme_size_22_hsd: + insert_field (FLD_SME_size_22, &inst->value, + aarch64_get_variant (inst) + 1, 0); + break; + case sme_size_12_hs: insert_field (FLD_SME_size_12, &inst->value, aarch64_get_variant (inst) + 1, 0); -- cgit v1.2.1