These are controlled by FEAT_SVE_B16B16 not FEAT_SME_B16B16.
Cc: [email protected]
Fixes: bc65d2bd1cb ("target/arm: Implement SME2 Multiple and Single SVE
Destructive")
Fixes: 930760eb753 ("target/arm: Implement SME2 Multiple Vectors SVE
Destructive")
Fixes: 8b61eff8e72 ("target/arm: Implement SME2 FCLAMP, SCLAMP, UCLAMP")
Signed-off-by: Richard Henderson <[email protected]>
---
target/arm/tcg/translate-sme.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/arm/tcg/translate-sme.c b/target/arm/tcg/translate-sme.c
index 5f02d462d3..ca88b3cdcc 100644
--- a/target/arm/tcg/translate-sme.c
+++ b/target/arm/tcg/translate-sme.c
@@ -758,7 +758,7 @@ static bool do_zzz_n1_fpst(DisasContext *s, arg_zzz_en *a,
return false;
}
/* These insns use MO_8 to encode BFloat16. */
- if (esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
@@ -795,7 +795,7 @@ static bool do_zzz_nn_fpst(DisasContext *s, arg_zzz_en *a,
if (fn == NULL) {
return false;
}
- if (esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
@@ -1850,7 +1850,7 @@ static bool trans_FCLAMP(DisasContext *s, arg_zzz_en *a)
return false;
}
/* This insn uses MO_8 to encode BFloat16. */
- if (a->esz == MO_8 && !dc_isar_feature(aa64_sme_b16b16, s)) {
+ if (a->esz == MO_8 && !dc_isar_feature(aa64_sve_b16b16, s)) {
return false;
}
if (!sme_sm_enabled_check(s)) {
--
2.43.0