Skip to content

Commit

Permalink
[tests] add missing tests cases and sort by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Clo91eaf committed Oct 14, 2024
1 parent cd1dff4 commit 6a274f1
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 100 deletions.
158 changes: 81 additions & 77 deletions .github/cases/blastoise/default.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
{
"pytorch.demo": 76,
"pytorch.lenet": 394687,
"pytorch.matmul": 14497,
"pytorch.mobilenet": 15139469,
"mlir.rvv_vp_intrinsic_add": 435,
"mlir.rvv_vp_intrinsic_add_scalable": 583,
"mlir.hello": 145,
"mlir.stripmining": 26790,
"asm.mmm": 92623,
"asm.smoke": 4922,
"intrinsic.conv2d_less_m2": 2647,
"intrinsic.linear_normalization": 3333,
"intrinsic.softmax": 8400,
"codegen.vaadd_vv": 98389,
"codegen.vaadd_vx": 260192,
"codegen.vaaddu_vv": 98389,
Expand All @@ -35,7 +24,63 @@
"codegen.vdiv_vx": 197052,
"codegen.vdivu_vv": 34305,
"codegen.vdivu_vx": 205045,
"codegen.vfadd_vf": 323156,
"codegen.vfadd_vv": 92389,
"codegen.vfclass_v": 6649,
"codegen.vfcvt_f_x_v": 6565,
"codegen.vfcvt_f_xu_v": 6559,
"codegen.vfcvt_rtz_x_f_v": 6579,
"codegen.vfcvt_rtz_xu_f_v": 6560,
"codegen.vfcvt_x_f_v": 6559,
"codegen.vfcvt_xu_f_v": 6559,
"codegen.vfdiv_vf": 668784,
"codegen.vfdiv_vv": 134005,
"codegen.vfirst_m": 1915,
"codegen.vfmacc_vf": 379509,
"codegen.vfmacc_vv": 95749,
"codegen.vfmadd_vf": 379509,
"codegen.vfmadd_vv": 95749,
"codegen.vfmax_vf": 323156,
"codegen.vfmax_vv": 92389,
"codegen.vfmerge_vfm": 185844,
"codegen.vfmin_vf": 323156,
"codegen.vfmin_vv": 92389,
"codegen.vfmsac_vf": 379509,
"codegen.vfmsac_vv": 95749,
"codegen.vfmsub_vf": 379509,
"codegen.vfmsub_vv": 95749,
"codegen.vfmul_vf": 323156,
"codegen.vfmul_vv": 92389,
"codegen.vfmv_f_s": 8091,
"codegen.vfmv_s_f": 766,
"codegen.vfmv_v_f": 2233,
"codegen.vfnmacc_vf": 379509,
"codegen.vfnmacc_vv": 95749,
"codegen.vfnmadd_vf": 379509,
"codegen.vfnmadd_vv": 95749,
"codegen.vfnmsac_vf": 379509,
"codegen.vfnmsac_vv": 95749,
"codegen.vfnmsub_vf": 379509,
"codegen.vfnmsub_vv": 95749,
"codegen.vfrdiv_vf": 668784,
"codegen.vfrec7_v": 6589,
"codegen.vfredmax_vs": 122757,
"codegen.vfredmin_vs": 122757,
"codegen.vfredosum_vs": 160996,
"codegen.vfredusum_vs": 122757,
"codegen.vfrsqrt7_v": 6568,
"codegen.vfrsub_vf": 323156,
"codegen.vfsgnj_vf": 277156,
"codegen.vfsgnj_vv": 92389,
"codegen.vfsgnjn_vf": 277156,
"codegen.vfsgnjn_vv": 92389,
"codegen.vfsgnjx_vf": 277156,
"codegen.vfsgnjx_vv": 92389,
"codegen.vfslide1down_vf": 0,
"codegen.vfslide1up_vf": 0,
"codegen.vfsqrt_v": 10373,
"codegen.vfsub_vf": 323156,
"codegen.vfsub_vv": 92389,
"codegen.vid_v": 17680,
"codegen.viota_m": 45144,
"codegen.vl1re16_v": 747,
Expand Down Expand Up @@ -169,6 +214,16 @@
"codegen.vmerge_vim": 33608,
"codegen.vmerge_vvm": 14004,
"codegen.vmerge_vxm": 43336,
"codegen.vmfeq_vf": 559109,
"codegen.vmfeq_vv": 99636,
"codegen.vmfge_vf": 559109,
"codegen.vmfgt_vf": 559109,
"codegen.vmfle_vf": 0,
"codegen.vmfle_vv": 0,
"codegen.vmflt_vf": 559109,
"codegen.vmflt_vv": 99636,
"codegen.vmfne_vf": 559109,
"codegen.vmfne_vv": 99636,
"codegen.vmin_vv": 24937,
"codegen.vmin_vx": 65387,
"codegen.vminu_vv": 24937,
Expand Down Expand Up @@ -214,15 +269,15 @@
"codegen.vmulhsu_vx": 87365,
"codegen.vmulhu_vv": 25151,
"codegen.vmulhu_vx": 87365,
"codegen.vmv1r_v": 1755,
"codegen.vmv2r_v": 1861,
"codegen.vmv4r_v": 2099,
"codegen.vmv8r_v": 2581,
"codegen.vmv_s_x": 1356,
"codegen.vmv_v_i": 17850,
"codegen.vmv_v_v": 9959,
"codegen.vmv_v_x": 8280,
"codegen.vmv_x_s": 1836,
"codegen.vmv1r_v": 1755,
"codegen.vmv2r_v": 1861,
"codegen.vmv4r_v": 2099,
"codegen.vmv8r_v": 2581,
"codegen.vmxnor_mm": 10038,
"codegen.vmxor_mm": 10038,
"codegen.vnclip_wi": 157469,
Expand Down Expand Up @@ -441,68 +496,17 @@
"codegen.vxor_vx": 65361,
"codegen.vzext_vf2": 23961,
"codegen.vzext_vf4": 4449,
"codegen.vfadd_vv": 92389,
"codegen.vfadd_vf": 323156,
"codegen.vfsub_vv": 92389,
"codegen.vfsub_vf": 323156,
"codegen.vfrsub_vf": 323156,
"codegen.vfmul_vv": 92389,
"codegen.vfmul_vf": 323156,
"codegen.vfdiv_vv": 134005,
"codegen.vfdiv_vf": 668784,
"codegen.vfrdiv_vf": 668784,
"codegen.vfmacc_vv": 95749,
"codegen.vfmacc_vf": 379509,
"codegen.vfnmacc_vv": 95749,
"codegen.vfnmacc_vf": 379509,
"codegen.vfmsac_vv": 95749,
"codegen.vfmsac_vf": 379509,
"codegen.vfnmsac_vv": 95749,
"codegen.vfnmsac_vf": 379509,
"codegen.vfmadd_vv": 95749,
"codegen.vfmadd_vf": 379509,
"codegen.vfnmadd_vv": 95749,
"codegen.vfnmadd_vf": 379509,
"codegen.vfmsub_vv": 95749,
"codegen.vfmsub_vf": 379509,
"codegen.vfnmsub_vv": 95749,
"codegen.vfnmsub_vf": 379509,
"codegen.vfsqrt_v": 10373,
"codegen.vfrsqrt7_v": 6568,
"codegen.vfrec7_v": 6589,
"codegen.vfmin_vv": 92389,
"codegen.vfmin_vf": 323156,
"codegen.vfmax_vv": 92389,
"codegen.vfmax_vf": 323156,
"codegen.vfsgnj_vv": 92389,
"codegen.vfsgnj_vf": 277156,
"codegen.vfsgnjn_vv": 92389,
"codegen.vfsgnjn_vf": 277156,
"codegen.vfsgnjx_vv": 92389,
"codegen.vfsgnjx_vf": 277156,
"codegen.vmfeq_vv": 99636,
"codegen.vmfeq_vf": 559109,
"codegen.vmfne_vv": 99636,
"codegen.vmfne_vf": 559109,
"codegen.vmflt_vv": 99636,
"codegen.vmflt_vf": 559109,
"codegen.vmfgt_vf": 559109,
"codegen.vmfge_vf": 559109,
"codegen.vfclass_v": 6649,
"codegen.vfmerge_vfm": 185844,
"codegen.vfmv_v_f": 2233,
"codegen.vfmv_f_s": 8091,
"codegen.vfmv_s_f": 766,
"codegen.vfcvt_xu_f_v": 6559,
"codegen.vfcvt_x_f_v": 6559,
"codegen.vfcvt_rtz_xu_f_v": 6560,
"codegen.vfcvt_rtz_x_f_v": 6579,
"codegen.vfcvt_f_xu_v": 6559,
"codegen.vfcvt_f_x_v": 6565,
"codegen.vfredosum_vs": 160996,
"codegen.vfredusum_vs": 122757,
"codegen.vfredmax_vs": 122757,
"codegen.vfredmin_vs": 122757,
"intrinsic.conv2d_less_m2": 2647,
"intrinsic.linear_normalization": 3333,
"intrinsic.softmax": 8400,
"mlir.hello": 145,
"mlir.rvv_vp_intrinsic_add": 435,
"mlir.rvv_vp_intrinsic_add_scalable": 583,
"mlir.stripmining": 26790,
"pytorch.demo": 76,
"pytorch.lenet": 394687,
"pytorch.matmul": 14497,
"pytorch.mobilenet": 15139469,
"rvv_bench.ascii_to_utf16": 39155,
"rvv_bench.ascii_to_utf32": 11277,
"rvv_bench.byteswap": 114251,
Expand Down
18 changes: 9 additions & 9 deletions .github/cases/machamp/default.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"mlir.rvv_vp_intrinsic_add": 422,
"mlir.rvv_vp_intrinsic_add_scalable": 577,
"mlir.hello": 113,
"mlir.stripmining": 13447,
"asm.mmm": 91448,
"asm.smoke": 5028,
"intrinsic.conv2d_less_m2": 2606,
"codegen.vaadd_vv": 97093,
"codegen.vaadd_vx": 257348,
"codegen.vaaddu_vv": 97093,
Expand Down Expand Up @@ -208,15 +203,15 @@
"codegen.vmulhsu_vx": 87325,
"codegen.vmulhu_vv": 24892,
"codegen.vmulhu_vx": 87325,
"codegen.vmv1r_v": 1723,
"codegen.vmv2r_v": 1829,
"codegen.vmv4r_v": 2067,
"codegen.vmv8r_v": 2549,
"codegen.vmv_s_x": 1300,
"codegen.vmv_v_i": 17659,
"codegen.vmv_v_v": 9922,
"codegen.vmv_v_x": 8212,
"codegen.vmv_x_s": 1777,
"codegen.vmv1r_v": 1723,
"codegen.vmv2r_v": 1829,
"codegen.vmv4r_v": 2067,
"codegen.vmv8r_v": 2549,
"codegen.vmxnor_mm": 10003,
"codegen.vmxor_mm": 10003,
"codegen.vnclip_wi": 158712,
Expand Down Expand Up @@ -435,6 +430,11 @@
"codegen.vxor_vx": 64727,
"codegen.vzext_vf2": 40172,
"codegen.vzext_vf4": 6653,
"intrinsic.conv2d_less_m2": 2606,
"mlir.hello": 113,
"mlir.rvv_vp_intrinsic_add": 422,
"mlir.rvv_vp_intrinsic_add_scalable": 577,
"mlir.stripmining": 13447,
"rvv_bench.ascii_to_utf16": 35463,
"rvv_bench.ascii_to_utf32": 9918,
"rvv_bench.byteswap": 106931,
Expand Down
4 changes: 4 additions & 0 deletions .github/cases/psyduck/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"codegen.vfsgnjn_vv": 92389,
"codegen.vfsgnjx_vf": 277156,
"codegen.vfsgnjx_vv": 92389,
"codegen.vfslide1down_vf": 0,
"codegen.vfslide1up_vf": 0,
"codegen.vfsqrt_v": 10373,
"codegen.vfsub_vf": 323156,
"codegen.vfsub_vv": 92389,
Expand Down Expand Up @@ -223,6 +225,8 @@
"codegen.vmfeq_vv": 99636,
"codegen.vmfge_vf": 559109,
"codegen.vmfgt_vf": 559109,
"codegen.vmfle_vf": 0,
"codegen.vmfle_vv": 0,
"codegen.vmflt_vf": 559109,
"codegen.vmflt_vv": 99636,
"codegen.vmfne_vf": 559109,
Expand Down
18 changes: 9 additions & 9 deletions .github/cases/sandslash/default.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"mlir.rvv_vp_intrinsic_add": 428,
"mlir.rvv_vp_intrinsic_add_scalable": 650,
"mlir.hello": 115,
"mlir.stripmining": 3598,
"asm.mmm": 91448,
"asm.smoke": 3581,
"intrinsic.conv2d_less_m2": 2597,
"codegen.vaadd_vv": 125559,
"codegen.vaadd_vx": 342898,
"codegen.vaaddu_vv": 125559,
Expand Down Expand Up @@ -208,15 +203,15 @@
"codegen.vmulhsu_vx": 116506,
"codegen.vmulhu_vv": 32377,
"codegen.vmulhu_vx": 116506,
"codegen.vmv1r_v": 2213,
"codegen.vmv2r_v": 2451,
"codegen.vmv4r_v": 3137,
"codegen.vmv8r_v": 4378,
"codegen.vmv_s_x": 1741,
"codegen.vmv_v_i": 27467,
"codegen.vmv_v_v": 13837,
"codegen.vmv_v_x": 11282,
"codegen.vmv_x_s": 2293,
"codegen.vmv1r_v": 2213,
"codegen.vmv2r_v": 2451,
"codegen.vmv4r_v": 3137,
"codegen.vmv8r_v": 4378,
"codegen.vmxnor_mm": 13213,
"codegen.vmxor_mm": 13213,
"codegen.vnclip_wi": 220694,
Expand Down Expand Up @@ -435,6 +430,11 @@
"codegen.vxor_vx": 86474,
"codegen.vzext_vf2": 135647,
"codegen.vzext_vf4": 20033,
"intrinsic.conv2d_less_m2": 2597,
"mlir.hello": 115,
"mlir.rvv_vp_intrinsic_add": 428,
"mlir.rvv_vp_intrinsic_add_scalable": 650,
"mlir.stripmining": 3598,
"rvv_bench.ascii_to_utf16": 31642,
"rvv_bench.ascii_to_utf32": 9368,
"rvv_bench.byteswap": 102376,
Expand Down
14 changes: 9 additions & 5 deletions tests/codegen/fp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ vfnmsub.vf
vfnmsub.vv
vfrdiv.vf
vfrec7.v
vfredmax.vs
vfredmin.vs
vfredosum.vs
vfredusum.vs
vfrsqrt7.v
vfrsub.vf
vfsgnj.vf
Expand All @@ -45,18 +49,18 @@ vfsgnjn.vf
vfsgnjn.vv
vfsgnjx.vf
vfsgnjx.vv
vfslide1down.vf
vfslide1up.vf
vfsqrt.v
vfsub.vf
vfsub.vv
vmfeq.vf
vmfeq.vv
vmfge.vf
vmfgt.vf
vmfle.vf
vmfle.vv
vmflt.vf
vmflt.vv
vmfne.vf
vmfne.vv
vfredosum.vs
vfredusum.vs
vfredmax.vs
vfredmin.vs
vmfne.vv

0 comments on commit 6a274f1

Please sign in to comment.