target/arm: Implement FEAT_SME_TMOP
cover target/arm: Implement FEAT_SME_TMOP
Another SME2.1 extension that becomes mandatory with SME2.2.
I reused the little helpers that I created for FEAT_SME_MOP4 without renaming them to something more generic. I hope that isn't too confusing.
r~
Richard Henderson (10):
target/arm: Implement FTMOPA (non-widening, FP32) target/arm: Implement FTMOPA (non-widening, FP16) target/arm: Implement BFTMOPA (non-widening) target/arm: Implement BFTMOPA (widening) target/arm: Implement FTMOPA (widening, 2-way, FP16 to FP32) target/arm: Implement FTMOPA (widening, 2-way, FP8 to FP16) target/arm: Implement FTMOPA (widening, 4-way, FP8 to FP32) target/arm: Implement [SU]TMOPA (2-way) target/arm: Implement {S,SU,US,U}TMOPA (4-way) target/arm: Enable FEAT_SME_TMOP for -cpu max
target/arm/cpu-features.h | 25 ++++ target/arm/tcg/helper-fp8-defs.h | 3 + target/arm/tcg/helper-sme-defs.h | 15 +++ target/arm/tcg/vec_internal.h | 7 ++ linux-user/aarch64/elfload.c | 1 + target/arm/tcg/cpu64.c | 3 +- target/arm/tcg/fp8_helper.c | 50 ++++++++ target/arm/tcg/sme_helper.c | 191 +++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 79 +++++++++++++ docs/system/arm/emulation.rst | 1 + target/arm/tcg/sme.decode | 28 +++++ 11 files changed, 402 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0
PATCH 1/10 target/arm: Implement FTMOPA (non-widening, FP32)
--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-sme-defs.h | 2 ++ target/arm/tcg/sme_helper.c | 49 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 26 +++++++++++++++++ target/arm/tcg/sme.decode | 10 +++++++ 5 files changed, 92 insertions(+)
target/arm/cpu-features.h +5 -0
@@ -1590,6 +1590,11 @@ static inline bool isar_feature_aa64_sme_mop4(const ARMISARegisters *id)return FIELD_EX64_IDREG (id,ID_AA64SMFR0 ,SMOP4 ); } +static inline bool isar_feature_aa64_sme_tmop (const ARMISARegisters *id) +{ +return FIELD_EX64_IDREG (id,ID_AA64SMFR0 ,STMOP ); +} +static inline bool isar_feature_aa64_ssve_aes (const ARMISARegisters *id) {return FIELD_EX64_IDREG (id,ID_AA64SMFR0 ,AES );
target/arm/tcg/helper-sme-defs.h +2 -0
@@ -404,3 +404,5 @@ DEF_HELPER_FLAGS_4(sme_usmop4a_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4s_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4a_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4s_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) + +DEF_HELPER_FLAGS_6 (sme_ftmopa_ss,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, fpst, i32)
target/arm/tcg/sme_helper.c +49 -0
61 lines not on this page · raw message
target/arm/tcg/translate-sme.c +26 -0
@@ -31,6 +31,12 @@* Include the generated decoder. */ +static int expand_tmop_zk (DisasContext *s,int x) +{ +/* Pseudocode for 1:K:1:zk. */ +return 0b10100 | ((x &4 ) <<1 ) | (x &3 ); +} +#include "decode-sme.c.inc" static bool sme2_zt0_enabled_check (DisasContext *s)
@@ -2132,3 +2138,23 @@ TRANS_FEAT(USMOP4_sb, aa64_sme_mop4, do_mop4_int, a, MO_32, a->s ? gen_helper_sme_usmop4s_sb : gen_helper_sme_usmop4a_sb) TRANS_FEAT(USMOP4_dh, aa64_sme_mop4_i16i64, do_mop4_int, a, MO_64, a->s ? gen_helper_sme_usmop4s_dh : gen_helper_sme_usmop4a_dh) + +static bool do_tmop_fp (DisasContext *s,arg_tmop *a,MemOp esz, +int e_fpst,gen_helper_gvec_4_ptr *fn) +{ +if (sme_smza_enabled_check (s)) { +int svl =streaming_vec_reg_size (s); +uint32_t desc =simd_desc (svl, svl, a->idx); +TCGv_ptr za =get_tile (s, esz, a->zad); +TCGv_ptr zn =vec_full_reg_ptr (s, a->zn); +TCGv_ptr zm =vec_full_reg_ptr (s, a->zm); +TCGv_ptr zk =vec_full_reg_ptr (s, a->zm); +TCGv_ptr fpst = (e_fpst >=0 ?fpstatus_ptr (e_fpst) : tcg_env); + +fn (za, zn, zm, zk, fpst,tcg_constant_i32 (desc)); + } +return true; +} + +TRANS_FEAT (FTMOPA_ss, aa64_sme_tmop, do_tmop_fp, + a,MO_32 ,FPST_ZA , gen_helper_sme_ftmopa_ss)
target/arm/tcg/sme.decode +10 -0
@@ -1131,3 +1131,13 @@ UMOP4_dh 1010 0001 111. ...0 0000 00.. ..0. 1... @mop4_o3 USMOP4_sb 1000 0001 000. ...0 1000 00.. ..0. 00.. @mop4_o2 USMOP4_dh 1010 0001 110. ...0 0000 00.. ..0. 1... @mop4_o3 + +# SME TMOP Sparse outer products + +&tmop zad zn zm zk idx +%tmop_zk 10:3 !function=expand_tmop_zk + +@tmop_o2 .... .... ... zm:5 ... ... .... idx:2 .. zad:2 \ + &tmop zn=%zn_ax2 zk=%tmop_zk + +FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 01/10] target/arm: Implement FTMOPA (non-widening, FP32)
Quoted 9 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-sme-defs.h | 2 ++ target/arm/tcg/sme_helper.c | 49 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 26 +++++++++++++++++ target/arm/tcg/sme.decode | 10 +++++++ 5 files changed, 92 insertions(+)
thanks
-- PMM
Re: [PATCH 01/10] target/arm: Implement FTMOPA (non-widening, FP32)
In reply to Richard HendersonQuoted 14 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
target/arm/tcg/sme_helper.c +9
-0+static void sme_tmop (void *vza,void *vzn,void *vzm,uint64_t *zk, +void *fn_opaque,uint32_t desc,MemOp esz, +void (*fn)(void *,void *,void *,void *)) +{ +intptr_t oprsz =simd_maxsz (desc); +intptr_t index =simd_data (desc); +intptr_t esize =1 << esz; +intptr_t host_adj =HOST_BIG_ENDIAN ?8 - esize :0 ; +/* Base in bits for op3[index*:csize], csize = (VL * 2) / esize. */
target/arm/tcg/sme_helper.c void sme_mop4(void *vza, void *vzn, void *vzm, void *fn_opaque, · line 2660
Quoted 10 lines
target/arm/tcg/sme_helper.c +10
-0+intptr_t ctrl_base = index * oprsz *2 ; +/* Create a zero for use with the largest esz. */ +uint32_t zero =0 ; + +for (intptr_t row =0 ; row < oprsz; row += esize) { +void *vza_row = vza +tile_vslice_offset (row); + +for (intptr_t col =0 ; col < oprsz; col += esize) { +void *e2 = vzm + (col ^ host_adj); +void *e3 = vza_row + (col ^ host_adj);
Having just read patch 4, is it possible to do this with the H macros rather than a manual host_adj, as we do in sme_tmop_2way_sh() there ?
-- PMM
Re: [PATCH 01/10] target/arm: Implement FTMOPA (non-widening, FP32)
Quoted 22 lines · Peter Maydell
Quoted 20 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
target/arm/tcg/sme_helper.c +15
-0+static void sme_tmop (void *vza,void *vzn,void *vzm,uint64_t *zk, +void *fn_opaque,uint32_t desc,MemOp esz, +void (*fn)(void *,void *,void *,void *)) +{ +intptr_t oprsz =simd_maxsz (desc); +intptr_t index =simd_data (desc); +intptr_t esize =1 << esz; +intptr_t host_adj =HOST_BIG_ENDIAN ?8 - esize :0 ; +/* Base in bits for op3[index*:csize], csize = (VL * 2) / esize. */ +intptr_t ctrl_base = index * oprsz *2 ; +/* Create a zero for use with the largest esz. */ +uint32_t zero =0 ; + +for (intptr_t row =0 ; row < oprsz; row += esize) { +void *vza_row = vza +tile_vslice_offset (row);
Quoted 8 lines
target/arm/tcg/sme_helper.c void sme_mop4(void *vza, void *vzn, void *vzm, void *fn_opaque, · line 2660
Quoted 4 lines
target/arm/tcg/sme_helper.c +4
-0+ +for (intptr_t col =0 ; col < oprsz; col += esize) { +void *e2 = vzm + (col ^ host_adj); +void *e3 = vza_row + (col ^ host_adj);Having just read patch 4, is it possible to do this with the H macros rather than a manual
host_adj, as we do insme_tmop_2way_sh()there ?
Not without making copies of the function specializing on esz. Of course, it turns out after the fact that only two esz are used, so perhaps it's not that bad. But the element selection logic was confusing enough to suggest just one function.
r~
Re: [PATCH 01/10] target/arm: Implement FTMOPA (non-widening, FP32)
Quoted 33 lines · Richard Henderson
Quoted 22 lines · Peter Maydell
Quoted 20 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
target/arm/tcg/sme_helper.c +15
-0+static void sme_tmop (void *vza,void *vzn,void *vzm,uint64_t *zk, +void *fn_opaque,uint32_t desc,MemOp esz, +void (*fn)(void *,void *,void *,void *)) +{ +intptr_t oprsz =simd_maxsz (desc); +intptr_t index =simd_data (desc); +intptr_t esize =1 << esz; +intptr_t host_adj =HOST_BIG_ENDIAN ?8 - esize :0 ; +/* Base in bits for op3[index*:csize], csize = (VL * 2) / esize. */ +intptr_t ctrl_base = index * oprsz *2 ; +/* Create a zero for use with the largest esz. */ +uint32_t zero =0 ; + +for (intptr_t row =0 ; row < oprsz; row += esize) { +void *vza_row = vza +tile_vslice_offset (row);Quoted 8 lines
target/arm/tcg/sme_helper.c void sme_mop4(void *vza, void *vzn, void *vzm, void *fn_opaque, · line 2660
Quoted 4 lines
target/arm/tcg/sme_helper.c +4
-0+ +for (intptr_t col =0 ; col < oprsz; col += esize) { +void *e2 = vzm + (col ^ host_adj); +void *e3 = vza_row + (col ^ host_adj);Having just read patch 4, is it possible to do this with the H macros rather than a manual
host_adj, as we do insme_tmop_2way_sh()there ?
Quoted 3 lines
Not without making copies of the function specializing on esz. Of course, it turns out after the fact that only two esz are used, so perhaps it's not that bad. But the element selection logic was confusing enough to suggest just one function.
Ah, yes, we have a variable esz here.
Since this was my only query on this series, I've added it to my list to apply once 11.1 is out.
thanks
-- PMM
PATCH 2/10 target/arm: Implement FTMOPA (non-widening, FP16)
In reply to Richard Henderson--- target/arm/cpu-features.h | 5 +++++ target/arm/tcg/helper-sme-defs.h | 1 + target/arm/tcg/sme_helper.c | 6 ++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 3 +++ 5 files changed, 17 insertions(+)
target/arm/cpu-features.h +5 -0
@@ -1842,6 +1842,11 @@ static inline bool isar_feature_aa64_sme_mop4_i16i64(const ARMISARegisters *id)return isar_feature_aa64_sme_mop4 (id) &&isar_feature_aa64_sme_i16i64 (id); } +static inline bool isar_feature_aa64_sme_tmop_f16f16 (const ARMISARegisters *id) +{ +return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f16f16 (id); +} +/* * Feature tests for "does this exist in either 32-bit or 64-bit?" */
target/arm/tcg/helper-sme-defs.h +1 -0
@@ -405,4 +405,5 @@ DEF_HELPER_FLAGS_4(sme_usmop4s_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4a_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4s_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_6(sme_ftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32)DEF_HELPER_FLAGS_6 (sme_ftmopa_ss,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, fpst, i32)
target/arm/tcg/sme_helper.c +6 -0
@@ -2693,6 +2693,12 @@ void HELPER(sme_fmop4a_hh)(void *vza, void *vzn, void *vzm,sme_mop4 (vza, vzn, vzm, fpst, desc,sizeof (float16), inner_fmop4a_hh); } +void HELPER (sme_ftmopa_hh )(void *vza,void *vzn,void *vzm,void *vzk, +float_status *fpst,uint32_t desc) +{ +sme_tmop (vza, vzn, vzm, vzk, fpst, desc,MO_16 , inner_fmop4a_hh); +} +static void inner_fmop4s_hh (void *vd,void *vn,void *vm,void *vinfo) {float16 *d = vd, *n = vn, *m = vm;
target/arm/tcg/translate-sme.c +2 -0
@@ -2156,5 +2156,7 @@ static bool do_tmop_fp(DisasContext *s, arg_tmop *a, MemOp esz,return true; } +TRANS_FEAT (FTMOPA_hh, aa64_sme_tmop_f16f16, do_tmop_fp, + a, MO_16, FPST_ZA_F16, gen_helper_sme_ftmopa_hh)TRANS_FEAT (FTMOPA_ss, aa64_sme_tmop, do_tmop_fp, a,MO_32 ,FPST_ZA , gen_helper_sme_ftmopa_ss)
target/arm/tcg/sme.decode +3 -0
@@ -1137,7 +1137,10 @@ USMOP4_dh 1010 0001 110. ...0 0000 00.. ..0. 1... @mop4_o3 &tmop zad zn zm zk idx %tmop_zk 10:3 !function=expand_tmop_zk +@tmop_o1 .... .... ... zm:5 ... ... .... idx:2 ... zad:1 \ + &tmop zn=%zn_ax2 zk=%tmop_zk @tmop_o2 .... .... ... zm:5 ... ... .... idx:2 .. zad:2 \ &tmop zn=%zn_ax2 zk=%tmop_zk +FTMOPA_hh 1000 0001 010 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 02/10] target/arm: Implement FTMOPA (non-widening, FP16)
Quoted 9 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/cpu-features.h | 5 +++++ target/arm/tcg/helper-sme-defs.h | 1 + target/arm/tcg/sme_helper.c | 6 ++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 3 +++ 5 files changed, 17 insertions(+)
thanks
-- PMM
PATCH 3/10 target/arm: Implement BFTMOPA (non-widening)
In reply to Richard Henderson--- target/arm/cpu-features.h | 5 +++++ target/arm/tcg/helper-sme-defs.h | 1 + target/arm/tcg/sme_helper.c | 6 ++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 1 + 5 files changed, 15 insertions(+)
target/arm/cpu-features.h +5 -0
@@ -1842,6 +1842,11 @@ static inline bool isar_feature_aa64_sme_mop4_i16i64(const ARMISARegisters *id)return isar_feature_aa64_sme_mop4 (id) &&isar_feature_aa64_sme_i16i64 (id); } +static inline bool isar_feature_aa64_sme_tmop_b16b16 (const ARMISARegisters *id) +{ +return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_b16b16 (id); +} +static inline bool isar_feature_aa64_sme_tmop_f16f16 (const ARMISARegisters *id) {return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f16f16 (id);
target/arm/tcg/helper-sme-defs.h +1 -0
@@ -405,5 +405,6 @@ DEF_HELPER_FLAGS_4(sme_usmop4s_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4a_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_4(sme_usmop4s_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_6(sme_bftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32) DEF_HELPER_FLAGS_6(sme_ftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32)DEF_HELPER_FLAGS_6 (sme_ftmopa_ss,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, fpst, i32)
target/arm/tcg/sme_helper.c +6 -0
@@ -2831,6 +2831,12 @@ void HELPER(sme_bfmop4a_hh)(void *vza, void *vzn, void *vzm,sme_mop4 (vza, vzn, vzm, fpst, desc,sizeof (bfloat16), inner_bfmop4a_hh); } +void HELPER (sme_bftmopa_hh )(void *vza,void *vzn,void *vzm,void *vzk, +float_status *fpst,uint32_t desc) +{ +sme_tmop (vza, vzn, vzm, vzk, fpst, desc,MO_16 , inner_bfmop4a_hh); +} +static void inner_bfmop4s_hh (void *vd,void *vn,void *vm,void *vinfo) {bfloat16 *d = vd, *n = vn, *m = vm;
target/arm/tcg/translate-sme.c +2 -0
@@ -2156,6 +2156,8 @@ static bool do_tmop_fp(DisasContext *s, arg_tmop *a, MemOp esz,return true; } +TRANS_FEAT (BFTMOPA_hh, aa64_sme_tmop_b16b16, do_tmop_fp, + a, MO_16, FPST_ZA, gen_helper_sme_bftmopa_hh)TRANS_FEAT (FTMOPA_hh, aa64_sme_tmop_f16f16, do_tmop_fp, a, MO_16, FPST_ZA_F16, gen_helper_sme_ftmopa_hh) TRANS_FEAT(FTMOPA_ss, aa64_sme_tmop, do_tmop_fp,
target/arm/tcg/sme.decode +1 -0
@@ -1142,5 +1142,6 @@ USMOP4_dh 1010 0001 110. ...0 0000 00.. ..0. 1... @mop4_o3 @tmop_o2 .... .... ... zm:5 ... ... .... idx:2 .. zad:2 \ &tmop zn=%zn_ax2 zk=%tmop_zk +BFTMOPA_hh 1000 0001 011 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_hh 1000 0001 010 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 03/10] target/arm: Implement BFTMOPA (non-widening)
Quoted 3 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>---
thanks
-- PMM
PATCH 4/10 target/arm: Implement BFTMOPA (widening)
In reply to Richard Henderson--- target/arm/tcg/helper-sme-defs.h | 2 ++ target/arm/tcg/sme_helper.c | 54 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 3 ++ target/arm/tcg/sme.decode | 2 ++ 4 files changed, 61 insertions(+)
target/arm/tcg/helper-sme-defs.h +2 -0
@@ -408,3 +408,5 @@ DEF_HELPER_FLAGS_4(sme_usmop4s_dh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_6(sme_bftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32) DEF_HELPER_FLAGS_6(sme_ftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32) DEF_HELPER_FLAGS_6(sme_ftmopa_ss, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32) + +DEF_HELPER_FLAGS_6 (sme_bftmopa_sh,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, env, i32)
target/arm/tcg/sme_helper.c +54 -0
66 lines not on this page · raw message
target/arm/tcg/translate-sme.c +3 -0
@@ -2162,3 +2162,6 @@ TRANS_FEAT(FTMOPA_hh, aa64_sme_tmop_f16f16, do_tmop_fp, a, MO_16, FPST_ZA_F16, gen_helper_sme_ftmopa_hh) TRANS_FEAT(FTMOPA_ss, aa64_sme_tmop, do_tmop_fp, a, MO_32, FPST_ZA, gen_helper_sme_ftmopa_ss) + +TRANS_FEAT (BFTMOPA_sh, aa64_sme_tmop, do_tmop_fp, + a,MO_32 ,FPST_ENV , gen_helper_sme_bftmopa_sh)
target/arm/tcg/sme.decode +2 -0
@@ -1145,3 +1145,5 @@ USMOP4_dh 1010 0001 110. ...0 0000 00.. ..0. 1... @mop4_o3 BFTMOPA_hh 1000 0001 011 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_hh 1000 0001 010 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2 + +BFTMOPA_sh 1000 0001 010 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 04/10] target/arm: Implement BFTMOPA (widening)
Quoted 8 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/tcg/helper-sme-defs.h | 2 ++ target/arm/tcg/sme_helper.c | 54 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 3 ++ target/arm/tcg/sme.decode | 2 ++ 4 files changed, 61 insertions(+)
thanks
-- PMM
PATCH 5/10 target/arm: Implement FTMOPA (widening, 2-way, FP16 to FP32)
In reply to Richard Henderson--- target/arm/tcg/helper-sme-defs.h | 1 + target/arm/tcg/sme_helper.c | 6 ++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 1 + 4 files changed, 10 insertions(+)
target/arm/tcg/helper-sme-defs.h +1 -0
@@ -410,3 +410,4 @@ DEF_HELPER_FLAGS_6(sme_ftmopa_hh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fps DEF_HELPER_FLAGS_6(sme_ftmopa_ss, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fpst, i32) DEF_HELPER_FLAGS_6(sme_bftmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, env, i32) +DEF_HELPER_FLAGS_6 (sme_ftmopa_sh,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, env, i32)
target/arm/tcg/sme_helper.c +6 -0
@@ -3020,6 +3020,12 @@ void HELPER(sme_fmop4a_sh)(void *vza, void *vzn, void *vzm,sme_mop4 (vza, vzn, vzm, env, desc,sizeof (float32), inner_fmop4a_sh); } +void HELPER (sme_ftmopa_sh )(void *vza,void *vzn,void *vzm,void *vzk, +CPUArchState *env,uint32_t desc) +{ +sme_tmop_2way_sh (vza, vzn, vzm, vzk, env, desc, inner_fmop4a_sh); +} +static void inner_fmop4s_sh (void *vd,void *vn,void *vm,void *vinfo) {float32 *d = vd;
target/arm/tcg/translate-sme.c +2 -0
@@ -2165,3 +2165,5 @@ TRANS_FEAT(FTMOPA_ss, aa64_sme_tmop, do_tmop_fp,TRANS_FEAT (BFTMOPA_sh, aa64_sme_tmop, do_tmop_fp, a, MO_32, FPST_ENV, gen_helper_sme_bftmopa_sh) +TRANS_FEAT (FTMOPA_sh, aa64_sme_tmop, do_tmop_fp, + a,MO_32 ,FPST_ENV , gen_helper_sme_ftmopa_sh)
target/arm/tcg/sme.decode +1 -0
@@ -1147,3 +1147,4 @@ FTMOPA_hh 1000 0001 010 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2 BFTMOPA_sh 1000 0001 010 ..... 000 ... .... .. 00 .. @tmop_o2 +FTMOPA_sh 1000 0001 011 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 05/10] target/arm: Implement FTMOPA (widening, 2-way, FP16 to FP32)
Quoted 8 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/tcg/helper-sme-defs.h | 1 + target/arm/tcg/sme_helper.c | 6 ++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 1 + 4 files changed, 10 insertions(+)
thanks
-- PMM
PATCH 6/10 target/arm: Implement FTMOPA (widening, 2-way, FP8 to FP16)
In reply to Richard Henderson--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-fp8-defs.h | 2 ++ target/arm/tcg/fp8_helper.c | 43 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 12 +++++++++ target/arm/tcg/sme.decode | 2 ++ 5 files changed, 64 insertions(+)
target/arm/cpu-features.h +5 -0
@@ -1852,6 +1852,11 @@ static inline bool isar_feature_aa64_sme_tmop_f16f16(const ARMISARegisters *id)return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f16f16 (id); } +static inline bool isar_feature_aa64_sme_tmop_f8f16 (const ARMISARegisters *id) +{ +return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f8f16 (id); +} +/* * Feature tests for "does this exist in either 32-bit or 64-bit?" */
target/arm/tcg/helper-fp8-defs.h +2 -0
@@ -47,3 +47,5 @@ DEF_HELPER_FLAGS_5(sme_fvdot_idx_hb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, env, DEF_HELPER_FLAGS_5(sme_fmop4a_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, env, i32) DEF_HELPER_FLAGS_5(sme_fmop4a_hb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, env, i32) + +DEF_HELPER_FLAGS_6 (sme_ftmopa_hb,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, env, i32)
target/arm/tcg/fp8_helper.c +43 -0
46 lines not on this page · raw message
target/arm/tcg/translate-sme.c +12 -0
@@ -2167,3 +2167,15 @@ TRANS_FEAT(BFTMOPA_sh, aa64_sme_tmop, do_tmop_fp, a, MO_32, FPST_ENV, gen_helper_sme_bftmopa_sh) TRANS_FEAT(FTMOPA_sh, aa64_sme_tmop, do_tmop_fp, a, MO_32, FPST_ENV, gen_helper_sme_ftmopa_sh) + +static bool do_tmop_fp8 (DisasContext *s,arg_tmop *a,MemOp esz, +gen_helper_gvec_4_ptr *fn) +{ +if (!fpmr_access_check (s)) { +return true; + } +return do_tmop_fp (s, a, esz,FPST_ENV , fn); +} + +TRANS_FEAT (FTMOPA_hb, aa64_sme_tmop_f8f16, do_tmop_fp8, + a,MO_16 , gen_helper_sme_ftmopa_hb)
target/arm/tcg/sme.decode +2 -0
@@ -1148,3 +1148,5 @@ FTMOPA_ss 1000 0000 010 ..... 000 ... .... .. 00 .. @tmop_o2 BFTMOPA_sh 1000 0001 010 ..... 000 ... .... .. 00 .. @tmop_o2 FTMOPA_sh 1000 0001 011 ..... 000 ... .... .. 00 .. @tmop_o2 + +FTMOPA_hb 1000 0000 011 ..... 000 ... .... .. 100 . @tmop_o1
Signature · 1 line
2.43.0
Re: [PATCH 06/10] target/arm: Implement FTMOPA (widening, 2-way, FP8 to FP16)
Quoted 9 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-fp8-defs.h | 2 ++ target/arm/tcg/fp8_helper.c | 43 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 12 +++++++++ target/arm/tcg/sme.decode | 2 ++ 5 files changed, 64 insertions(+)
thanks
-- PMM
PATCH 7/10 target/arm: Implement FTMOPA (widening, 4-way, FP8 to FP32)
In reply to Richard Henderson--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-fp8-defs.h | 1 + target/arm/tcg/vec_internal.h | 7 +++++ target/arm/tcg/fp8_helper.c | 7 +++++ target/arm/tcg/sme_helper.c | 44 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 1 + 7 files changed, 67 insertions(+)
target/arm/cpu-features.h +5 -0
@@ -1857,6 +1857,11 @@ static inline bool isar_feature_aa64_sme_tmop_f8f16(const ARMISARegisters *id)return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f8f16 (id); } +static inline bool isar_feature_aa64_sme_tmop_f8f32 (const ARMISARegisters *id) +{ +return isar_feature_aa64_sme_tmop (id) &&isar_feature_aa64_sme_f8f32 (id); +} +/* * Feature tests for "does this exist in either 32-bit or 64-bit?" */
target/arm/tcg/helper-fp8-defs.h +1 -0
@@ -49,3 +49,4 @@ DEF_HELPER_FLAGS_5(sme_fmop4a_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, env, i32 DEF_HELPER_FLAGS_5(sme_fmop4a_hb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, env, i32) DEF_HELPER_FLAGS_6(sme_ftmopa_hb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, env, i32) +DEF_HELPER_FLAGS_6 (sme_ftmopa_sb,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, env, i32)
target/arm/tcg/vec_internal.h +7 -0
@@ -555,4 +555,11 @@ void sme_mop4(void *vza, void *vzn, void *vzm, void *fn_opaque, uint32_t desc, size_t esize, void (*fn)(void *, void *, void *, void *)); +/* +* Perform SME sparse outer product, 4-way, 8 to 32-bit. +*/ +void sme_tmop_4way_sb (uint32_t *za,uint8_t *zn0,uint32_t *zm, +uint64_t *zk,void *fn_opaque,uint32_t desc, +void (*fn)(void *,void *,void *,void *)); +#endif /* TARGET_ARM_VEC_INTERNAL_H */
target/arm/tcg/fp8_helper.c +7 -0
@@ -1048,3 +1048,10 @@ void HELPER(sme_ftmopa_hb)(void *vza, void *vzn, void *vzm, void *vzk, } } } + +void HELPER (sme_ftmopa_sb )(void *vza,void *vzn,void *vzm,void *vzk, +CPUArchState *env,uint32_t desc) +{ +FP8MulContext ctx =fp8_mul_start (env,0xf ); +sme_tmop_4way_sb (vza, vzn, vzm, vzk, &ctx, desc, inner_fmop4a_sb); +}
target/arm/tcg/sme_helper.c +44 -0
50 lines not on this page · raw message
target/arm/tcg/translate-sme.c +2 -0
@@ -2179,3 +2179,5 @@ static bool do_tmop_fp8(DisasContext *s, arg_tmop *a, MemOp esz,TRANS_FEAT (FTMOPA_hb, aa64_sme_tmop_f8f16, do_tmop_fp8, a, MO_16, gen_helper_sme_ftmopa_hb) +TRANS_FEAT (FTMOPA_sb, aa64_sme_tmop_f8f32, do_tmop_fp8, + a,MO_32 , gen_helper_sme_ftmopa_sb)
target/arm/tcg/sme.decode +1 -0
@@ -1150,3 +1150,4 @@ BFTMOPA_sh 1000 0001 010 ..... 000 ... .... .. 00 .. @tmop_o2 FTMOPA_sh 1000 0001 011 ..... 000 ... .... .. 00 .. @tmop_o2 FTMOPA_hb 1000 0000 011 ..... 000 ... .... .. 100 . @tmop_o1 +FTMOPA_sb 1000 0000 011 ..... 000 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 07/10] target/arm: Implement FTMOPA (widening, 4-way, FP8 to FP32)
Quoted 11 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/cpu-features.h | 5 ++++ target/arm/tcg/helper-fp8-defs.h | 1 + target/arm/tcg/vec_internal.h | 7 +++++ target/arm/tcg/fp8_helper.c | 7 +++++ target/arm/tcg/sme_helper.c | 44 ++++++++++++++++++++++++++++++++ target/arm/tcg/translate-sme.c | 2 ++ target/arm/tcg/sme.decode | 1 + 7 files changed, 67 insertions(+)
thanks
-- PMM
PATCH 8/10 target/arm: Implement [SU]TMOPA (2-way)
In reply to Richard Henderson--- target/arm/tcg/helper-sme-defs.h | 3 +++ target/arm/tcg/sme_helper.c | 12 ++++++++++++ target/arm/tcg/translate-sme.c | 21 +++++++++++++++++++++ target/arm/tcg/sme.decode | 3 +++ 4 files changed, 39 insertions(+)
target/arm/tcg/helper-sme-defs.h +3 -0
@@ -411,3 +411,6 @@ DEF_HELPER_FLAGS_6(sme_ftmopa_ss, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, fps DEF_HELPER_FLAGS_6(sme_bftmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, env, i32) DEF_HELPER_FLAGS_6(sme_ftmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, env, i32) + +DEF_HELPER_FLAGS_5(sme_stmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5 (sme_utmopa_sh,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, i32)
target/arm/tcg/sme_helper.c +12 -0
@@ -3123,6 +3123,18 @@ IMOP4_2WAY(umop4s_sh, -, int32_t, uint16_t, uint16_t)#undef IMOP4_2WAY +#define ITMOP_2WAY (TNAME ,MNAME ) \ +void HELPER(sme_##TNAME)(void *vza, void *vzn, void *vzm, \ + void *vzk, uint32_t desc) \ +{ \ + sme_tmop_2way_sh(vza, vzn, vzm, vzk, NULL, desc, inner_##MNAME); \ +} + +ITMOP_2WAY(stmopa_sh, smop4a_sh) +ITMOP_2WAY(utmopa_sh, umop4a_sh) + +#undef ITMOP_2WAY +#define IMOP4_4WAY (NAME ,OP ,TYPED ,TYPEN ,TYPEM ) \ static void inner_##NAME(void *vd, void *vn, void *vm, void *vinfo) \ { \
target/arm/tcg/translate-sme.c +21 -0
@@ -2181,3 +2181,24 @@ TRANS_FEAT(FTMOPA_hb, aa64_sme_tmop_f8f16, do_tmop_fp8, a, MO_16, gen_helper_sme_ftmopa_hb) TRANS_FEAT(FTMOPA_sb, aa64_sme_tmop_f8f32, do_tmop_fp8, a, MO_32, gen_helper_sme_ftmopa_sb) + +static bool do_tmop_int (DisasContext *s,arg_tmop *a,MemOp esz, +gen_helper_gvec_4 *fn) +{ +if (sme_smza_enabled_check (s)) { +int svl =streaming_vec_reg_size (s); +uint32_t desc =simd_desc (svl, svl, a->idx); +TCGv_ptr za =get_tile (s, esz, a->zad); +TCGv_ptr zn =vec_full_reg_ptr (s, a->zn); +TCGv_ptr zm =vec_full_reg_ptr (s, a->zm); +TCGv_ptr zk =vec_full_reg_ptr (s, a->zm); + +fn (za, zn, zm, zk,tcg_constant_i32 (desc)); + } +return true; +} + +TRANS_FEAT (STMOPA_sh, aa64_sme_tmop, do_tmop_int, + a, MO_32, gen_helper_sme_stmopa_sh) +TRANS_FEAT (UTMOPA_sh, aa64_sme_tmop, do_tmop_int, + a,MO_32 , gen_helper_sme_utmopa_sh)
target/arm/tcg/sme.decode +3 -0
@@ -1151,3 +1151,6 @@ FTMOPA_sh 1000 0001 011 ..... 000 ... .... .. 00 .. @tmop_o2 FTMOPA_hb 1000 0000 011 ..... 000 ... .... .. 100 . @tmop_o1 FTMOPA_sb 1000 0000 011 ..... 000 ... .... .. 00 .. @tmop_o2 + +STMOPA_sh 1000 0000 010 ..... 100 ... .... .. 10 .. @tmop_o2 +UTMOPA_sh 1000 0001 010 ..... 100 ... .... .. 10 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 08/10] target/arm: Implement [SU]TMOPA (2-way)
Quoted 8 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/tcg/helper-sme-defs.h | 3 +++ target/arm/tcg/sme_helper.c | 12 ++++++++++++ target/arm/tcg/translate-sme.c | 21 +++++++++++++++++++++ target/arm/tcg/sme.decode | 3 +++ 4 files changed, 39 insertions(+)
thanks
-- PMM
PATCH 9/10 target/arm: Implement {S,SU,US,U}TMOPA (4-way)
In reply to Richard Henderson--- target/arm/tcg/helper-sme-defs.h | 5 +++++ target/arm/tcg/sme_helper.c | 14 ++++++++++++++ target/arm/tcg/translate-sme.c | 9 +++++++++ target/arm/tcg/sme.decode | 5 +++++ 4 files changed, 33 insertions(+)
target/arm/tcg/helper-sme-defs.h +5 -0
@@ -414,3 +414,8 @@ DEF_HELPER_FLAGS_6(sme_ftmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, env DEF_HELPER_FLAGS_5(sme_stmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) DEF_HELPER_FLAGS_5(sme_utmopa_sh, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) + +DEF_HELPER_FLAGS_5(sme_stmopa_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5(sme_sutmopa_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5(sme_utmopa_sb, TCG_CALL_NO_RWG, void, ptr, ptr, ptr, ptr, i32) +DEF_HELPER_FLAGS_5 (sme_ustmopa_sb,TCG_CALL_NO_RWG , void, ptr, ptr, ptr, ptr, i32)
target/arm/tcg/sme_helper.c +14 -0
@@ -3168,3 +3168,17 @@ IMOP4_4WAY(usmop4a_dh, +, int64_t, uint16_t, int16_t) IMOP4_4WAY(usmop4s_dh, -, int64_t, uint16_t, int16_t)#undef IMOP4_4WAY + +#define ITMOP_4WAY (TNAME ,MNAME ) \ +void HELPER(sme_##TNAME)(void *vza, void *vzn, void *vzm, \ + void *vzk, uint32_t desc) \ +{ \ + sme_tmop_4way_sb(vza, vzn, vzm, vzk, NULL, desc, inner_##MNAME); \ +} + +ITMOP_4WAY(stmopa_sb, smop4a_sb) +ITMOP_4WAY(utmopa_sb, umop4a_sb) +ITMOP_4WAY(sutmopa_sb, sumop4a_sb) +ITMOP_4WAY(ustmopa_sb, usmop4a_sb) + +#undef ITMOP_4WAY
target/arm/tcg/translate-sme.c +9 -0
@@ -2202,3 +2202,12 @@ TRANS_FEAT(STMOPA_sh, aa64_sme_tmop, do_tmop_int, a, MO_32, gen_helper_sme_stmopa_sh) TRANS_FEAT(UTMOPA_sh, aa64_sme_tmop, do_tmop_int, a, MO_32, gen_helper_sme_utmopa_sh) + +TRANS_FEAT(STMOPA_sb, aa64_sme_tmop, do_tmop_int, + a, MO_32, gen_helper_sme_stmopa_sb) +TRANS_FEAT(SUTMOPA_sb, aa64_sme_tmop, do_tmop_int, + a, MO_32, gen_helper_sme_sutmopa_sb) +TRANS_FEAT(USTMOPA_sb, aa64_sme_tmop, do_tmop_int, + a, MO_32, gen_helper_sme_ustmopa_sb) +TRANS_FEAT (UTMOPA_sb, aa64_sme_tmop, do_tmop_int, + a,MO_32 , gen_helper_sme_utmopa_sb)
target/arm/tcg/sme.decode +5 -0
@@ -1154,3 +1154,8 @@ FTMOPA_sb 1000 0000 011 ..... 000 ... .... .. 00 .. @tmop_o2 STMOPA_sh 1000 0000 010 ..... 100 ... .... .. 10 .. @tmop_o2 UTMOPA_sh 1000 0001 010 ..... 100 ... .... .. 10 .. @tmop_o2 + +STMOPA_sb 1000 0000 010 ..... 100 ... .... .. 00 .. @tmop_o2 +SUTMOPA_sb 1000 0000 011 ..... 100 ... .... .. 00 .. @tmop_o2 +USTMOPA_sb 1000 0001 010 ..... 100 ... .... .. 00 .. @tmop_o2 +UTMOPA_sb 1000 0001 011 ..... 100 ... .... .. 00 .. @tmop_o2
Signature · 1 line
2.43.0
Re: [PATCH 09/10] target/arm: Implement {S,SU,US,U}TMOPA (4-way)
Quoted 9 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- target/arm/tcg/helper-sme-defs.h | 5 +++++ target/arm/tcg/sme_helper.c | 14 ++++++++++++++ target/arm/tcg/translate-sme.c | 9 +++++++++ target/arm/tcg/sme.decode | 5 +++++ 4 files changed, 33 insertions(+)
thanks
-- PMM
PATCH 10/10 target/arm: Enable FEAT_SME_TMOP for -cpu max
In reply to Richard Henderson--- linux-user/aarch64/elfload.c | 1 + target/arm/tcg/cpu64.c | 3 ++- docs/system/arm/emulation.rst | 1 + 3 files changed, 4 insertions(+), 1 deletion(-)
linux-user/aarch64/elfload.c +1 -0
@@ -177,6 +177,7 @@ abi_ulong get_elf_hwcap(CPUState *cs)GET_FEATURE_ID (aa64_ssve_fexpa,ARM_HWCAP_A64_SME_SFEXPA );GET_FEATURE_ID (aa64_fprcvt,ARM_HWCAP_A64_FPRCVT );GET_FEATURE_ID (aa64_sme_mop4,ARM_HWCAP_A64_SME_SMOP4 ); +GET_FEATURE_ID (aa64_sme_tmop,ARM_HWCAP_A64_SME_STMOP );return hwcaps; }
target/arm/tcg/cpu64.c +2 -1
@@ -1384,8 +1384,9 @@ void aarch64_max_tcg_initfn(Object *obj)SET_IDREG (isar,ID_AA64DFR0 , t); t =GET_IDREG (isar,ID_AA64SMFR0 ); - t =FIELD_DP64 (t,ID_AA64SMFR0 ,SFEXPA ,1 );/* FEAT_SSVE_FEXPA */ t =FIELD_DP64 (t,ID_AA64SMFR0 ,SMOP4 ,1 );/* FEAT_SME_MOP4 */ + t =FIELD_DP64 (t,ID_AA64SMFR0 ,STMOP ,1 );/* FEAT_SME_TMOP */ + t =FIELD_DP64 (t,ID_AA64SMFR0 ,SFEXPA ,1 );/* FEAT_SSVE_FEXPA */ t =FIELD_DP64 (t,ID_AA64SMFR0 ,AES ,1 );/* FEAT_SSVE_AES */ t =FIELD_DP64 (t,ID_AA64SMFR0 ,SF8DP2 ,1 );/* FEAT_SSVE_FP8DOT2 */ t =FIELD_DP64 (t,ID_AA64SMFR0 ,SF8DP4 ,1 );/* FEAT_SSVE_FP8DOT4 */
docs/system/arm/emulation.rst +1 -0
@@ -176,6 +176,7 @@ the following architecture extensions: - FEAT_SME_I16I64 (16-bit to 64-bit integer widening outer product instructions) - FEAT_SME_LUTv2 (Lookup table instructions with 4-bit indices and 8-bit elements) - FEAT_SME_MOP4 (Quarter-tile outer product instructions) +- FEAT_SME_TMOP (Structured sparsity outer product instructions) - FEAT_SSVE_AES (Streaming SVE Mode Advanced Encryption Standard and 128-bit polynomial multiply long instructions) - FEAT_SSVE_FEXPA (Streaming FEXPA instruction) - FEAT_SSVE_FP8DOT2 (SVE2 FP8 2-way dot product to half-precision instructions in Streaming SVE mode)
Signature · 1 line
2.43.0
Re: [PATCH 10/10] target/arm: Enable FEAT_SME_TMOP for -cpu max
Quoted 8 lines · Richard Henderson
Signed-off-by Richard Henderson <[email protected]>--- linux-user/aarch64/elfload.c | 1 + target/arm/tcg/cpu64.c | 3 ++- docs/system/arm/emulation.rst | 1 + 3 files changed, 4 insertions(+), 1 deletion(-)
thanks
-- PMM
Peter Maydell
AppliedQuoted 7 lines · Richard Henderson
Another SME2.1 extension that becomes mandatory with SME2.2.
I reused the little helpers that I created for
FEAT_SME_MOP4without renaming them to something more generic. I hope that isn't too confusing.
Applied to target-arm.next for 11.2, thanks.
-- PMM