Skip to content

Commit a5f3058

Browse files
committed
[AArch64][NFC] Remove redundant comments in SMEInstrInfo
1 parent 8e8d0c1 commit a5f3058

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -979,26 +979,24 @@ defm FSCALE_2ZZ : sme2_fp_sve_destructive_vector_vg2_single<"fscale", 0b001100
979979
defm FSCALE_4ZZ : sme2_fp_sve_destructive_vector_vg4_single<"fscale", 0b0011000>;
980980
defm FSCALE_2Z2Z : sme2_fp_sve_destructive_vector_vg2_multi<"fscale", 0b0011000>;
981981
defm FSCALE_4Z4Z : sme2_fp_sve_destructive_vector_vg4_multi<"fscale", 0b0011000>;
982-
983-
} // [HasSME2, HasFP8]
982+
}
984983

985984
let Predicates = [HasSME2, HasFAMINMAX] in {
986985
defm FAMAX_2Z2Z : sme2_fp_sve_destructive_vector_vg2_multi<"famax", 0b0010100>;
987986
defm FAMIN_2Z2Z : sme2_fp_sve_destructive_vector_vg2_multi<"famin", 0b0010101>;
988987

989988
defm FAMAX_4Z4Z : sme2_fp_sve_destructive_vector_vg4_multi<"famax", 0b0010100>;
990989
defm FAMIN_4Z4Z : sme2_fp_sve_destructive_vector_vg4_multi<"famin", 0b0010101>;
991-
} //[HasSME2, HasFAMINMAX]
992-
990+
}
993991

994992
let Predicates = [HasSME_LUTv2] in {
995993
defm MOVT_TIZ : sme2_movt_zt_to_zt<"movt", 0b0011111, int_aarch64_sme_write_lane_zt, int_aarch64_sme_write_zt>;
996994
def LUTI4_4ZZT2Z : sme2_luti4_vector_vg4<0b00, 0b00,"luti4">;
997-
} //[HasSME_LUTv2]
995+
}
998996

999997
let Predicates = [HasSME2p1, HasSME_LUTv2] in {
1000998
def LUTI4_S_4ZZT2Z : sme2_luti4_vector_vg4_strided<0b00, 0b00, "luti4">;
1001-
} //[HasSME2p1, HasSME_LUTv2]
999+
}
10021000

10031001
let Predicates = [HasSMEF8F16] in {
10041002
defm FVDOT_VG2_M2ZZI_BtoH : sme2_fp8_fdot_index_za16_vg1x2<"fvdot", 0b110, int_aarch64_sme_fp8_fvdot_lane_za16_vg1x2>;
@@ -1014,17 +1012,15 @@ defm FMLAL_MZZI_BtoH : sme2_fp8_fmlal_index_za16<"fmlal", int_aarch64_
10141012
defm FMLAL_VG2_M2ZZI_BtoH : sme2_fp8_fmlal_index_za16_vgx2<"fmlal", int_aarch64_sme_fp8_fmlal_lane_za16_vg2x2>;
10151013
defm FMLAL_VG4_M4ZZI_BtoH : sme2_fp8_fmlal_index_za16_vgx4<"fmlal", int_aarch64_sme_fp8_fmlal_lane_za16_vg2x4>;
10161014

1017-
// FP8 FMLAL (single)
10181015
defm FMLAL_VG2_MZZ_BtoH : sme2_fp8_fmlal_single_za16<"fmlal", int_aarch64_sme_fp8_fmlal_single_za16_vg2x1>;
1019-
defm FMLAL_VG2_M2ZZ_BtoH : sme2_fp_mla_long_array_vg2_single<"fmlal", 0b001, MatrixOp16, ZZ_b, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlal_single_za16_vg2x2, [FPMR, FPCR]>;
1016+
defm FMLAL_VG2_M2ZZ_BtoH : sme2_fp_mla_long_array_vg2_single<"fmlal", 0b001, MatrixOp16, ZZ_b, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlal_single_za16_vg2x2, [FPMR, FPCR]>;
10201017
defm FMLAL_VG4_M4ZZ_BtoH : sme2_fp_mla_long_array_vg4_single<"fmlal", 0b001, MatrixOp16, ZZZZ_b, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlal_single_za16_vg2x4, [FPMR, FPCR]>;
10211018

1022-
// FP8 FMLALL (multi)
10231019
defm FMLAL_VG2_M2Z2Z_BtoH : sme2_fp_mla_long_array_vg2_multi<"fmlal", 0b100, MatrixOp16, ZZ_b_mul_r, nxv16i8, int_aarch64_sme_fp8_fmlal_multi_za16_vg2x2, [FPMR, FPCR]>;
10241020
defm FMLAL_VG4_M4Z4Z_BtoH : sme2_fp_mla_long_array_vg4_multi<"fmlal", 0b100, MatrixOp16, ZZZZ_b_mul_r, nxv16i8, int_aarch64_sme_fp8_fmlal_multi_za16_vg2x4, [FPMR, FPCR]>;
10251021

10261022
defm FMOPA_MPPZZ_BtoH : sme2_fp8_fmopa_za16<"fmopa", int_aarch64_sme_fp8_fmopa_za16>;
1027-
} //[HasSMEF8F16]
1023+
}
10281024

10291025
let Predicates = [HasSMEF8F32] in {
10301026
defm FDOT_VG2_M2ZZI_BtoS : sme2_fp8_fdot_index_za32_vg1x2<"fdot", int_aarch64_sme_fp8_fdot_lane_za32_vg1x2>;
@@ -1042,17 +1038,15 @@ defm FMLALL_MZZI_BtoS : sme2_mla_ll_array_index_32b<"fmlall", 0b01, 0b0
10421038
defm FMLALL_VG2_M2ZZI_BtoS : sme2_mla_ll_array_vg2_index_32b<"fmlall", 0b10, 0b100, int_aarch64_sme_fp8_fmlall_lane_za32_vg4x2, [FPMR, FPCR]>;
10431039
defm FMLALL_VG4_M4ZZI_BtoS : sme2_mla_ll_array_vg4_index_32b<"fmlall", 0b00, 0b1000, int_aarch64_sme_fp8_fmlall_lane_za32_vg4x4, [FPMR, FPCR]>;
10441040

1045-
// FP8 FMLALL (single)
10461041
defm FMLALL_MZZ_BtoS : sme2_mla_ll_array_single<"fmlall", 0b01000, MatrixOp32, ZPR8, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlall_single_za32_vg4x1, [FPMR, FPCR]>;
10471042
defm FMLALL_VG2_M2ZZ_BtoS : sme2_mla_ll_array_vg2_single<"fmlall", 0b000001, MatrixOp32, ZZ_b, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlall_single_za32_vg4x2, [FPMR, FPCR]>;
10481043
defm FMLALL_VG4_M4ZZ_BtoS : sme2_mla_ll_array_vg4_single<"fmlall", 0b010001, MatrixOp32, ZZZZ_b, ZPR4b8, nxv16i8, int_aarch64_sme_fp8_fmlall_single_za32_vg4x4, [FPMR, FPCR]>;
10491044

1050-
// FP8 FMLALL (multi)
10511045
defm FMLALL_VG2_M2Z2Z_BtoS : sme2_mla_ll_array_vg2_multi<"fmlall", 0b01000, MatrixOp32, ZZ_b_mul_r, nxv16i8, int_aarch64_sme_fp8_fmlall_multi_za32_vg4x2, [FPMR, FPCR]>;
10521046
defm FMLALL_VG4_M4Z4Z_BtoS : sme2_mla_ll_array_vg4_multi<"fmlall", 0b01000, MatrixOp32, ZZZZ_b_mul_r, nxv16i8, int_aarch64_sme_fp8_fmlall_multi_za32_vg4x4, [FPMR, FPCR]>;
10531047

10541048
defm FMOPA_MPPZZ_BtoS : sme2_fp8_fmopa_za32<"fmopa", int_aarch64_sme_fp8_fmopa_za32>;
1055-
} //[HasSMEF8F32]
1049+
}
10561050

10571051
let Predicates = [HasSME2, HasSVEBFSCALE] in {
10581052
defm BFSCALE : sme2_bfscale_single<"bfscale">;
@@ -1077,31 +1071,31 @@ let Predicates = [HasSME2p2] in {
10771071

10781072
defm FMOP4A : sme2_fmop4as_fp16_fp32_widening<0, "fmop4a">;
10791073
defm FMOP4S : sme2_fmop4as_fp16_fp32_widening<1, "fmop4s">;
1080-
} // [HasSME2p2]
1074+
}
10811075

10821076
let Predicates = [HasSME2p2, HasSMEB16B16] in {
10831077
def BFTMOPA_M2ZZZI_HtoH : sme_tmopa_16b<0b11001, ZZ_h_mul_r, ZPR16, "bftmopa">;
1084-
} // [HasSME2p2, HasSMEB16B16]
1078+
}
10851079

10861080
let Predicates = [HasSME2p2, HasSMEF8F32], Uses = [FPMR, FPCR] in {
10871081
def FTMOPA_M2ZZZI_BtoS : sme_tmopa_32b<0b01000, ZZ_b_mul_r, ZPR8, "ftmopa">;
1088-
} // [HasSME2p2, HasSMEF8F32], Uses = [FPMR, FPCR]
1082+
}
10891083

10901084
let Predicates = [HasSME2p2, HasSMEF8F16], Uses = [FPMR, FPCR] in {
10911085
def FTMOPA_M2ZZZI_BtoH : sme_tmopa_16b<0b01001, ZZ_b_mul_r, ZPR8, "ftmopa">;
10921086
defm FMOP4A : sme2_fmop4a_fp8_fp16_2way<"fmop4a">;
1093-
} // [HasSME2p2, HasSMEF8F16], Uses = [FPMR, FPCR]
1087+
}
10941088

10951089
let Predicates = [HasSME2p2, HasSMEF16F16] in {
10961090
def FTMOPA_M2ZZZI_HtoH : sme_tmopa_16b<0b10001, ZZ_h_mul_r, ZPR16, "ftmopa">;
10971091
defm FMOP4A : sme2_fmop4as_fp16_non_widening<0, "fmop4a">;
10981092
defm FMOP4S : sme2_fmop4as_fp16_non_widening<1, "fmop4s">;
1099-
} // [HasSME2p2, HasSMEF16F16]
1093+
}
11001094

11011095
let Predicates = [HasSME2, HasSVEBFSCALE] in {
11021096
defm BFMUL : sme2_bfmul_single<"bfmul">;
11031097
defm BFMUL : sme2_bfmul_multi<"bfmul">;
1104-
} //[HasSME2, HasSVEBFSCALE]
1098+
}
11051099

11061100
let Uses = [FPMR, FPCR] in {
11071101
let Predicates = [HasSME2p2, HasSMEF8F32] in {

0 commit comments

Comments
 (0)