cleanup: Tweak and re-run return_directly.cocci
Subsystems (5)
PATCH 1/1 cleanup: Tweak and re-run return_directly.cocci
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in hw/rdma/vmw/pvrdma_cmd.c; restored manually.
Coccinelle messes up vmdk_co_create(), not sure why. Transformed manually.
Line breaks in target/avr/cpu.h and hw/rdma/vmw/pvrdma_cmd.c tidied up manually.
Whitespace in fuse_reply_iov() tidied up manually.
checkpatch.pl complains "return of an errno should typically be -ve" two times for hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.
checkpatch.pl complains "return is not a function, parentheses are not required" three times for target/mips/tcg/dsp_helper.c. False positives.
--- scripts/coccinelle/return_directly.cocci | 5 +- include/hw/pci/pci.h | 7 +- target/avr/cpu.h | 4 +- block/vmdk.c | 28 ++-- hw/9pfs/9p-synth.c | 14 +- hw/char/sifive_uart.c | 4 +- hw/ppc/ppc4xx_sdram.c | 5 +- hw/rdma/vmw/pvrdma_cmd.c | 57 +++----- hw/virtio/vhost-user.c | 6 +- migration/dirtyrate.c | 10 +- migration/tls.c | 6 +- replay/replay-time.c | 5 +- semihosting/console.c | 4 +- softmmu/memory.c | 11 +- softmmu/physmem.c | 9 +- target/loongarch/cpu.c | 4 +- target/mips/tcg/dsp_helper.c | 15 +- target/riscv/debug.c | 6 +- target/riscv/vector_helper.c | 28 +--- tests/bench/benchmark-crypto-akcipher.c | 6 +- tests/qtest/erst-test.c | 5 +- tests/qtest/hexloader-test.c | 6 +- tests/qtest/pvpanic-pci-test.c | 6 +- tests/qtest/pvpanic-test.c | 6 +- tests/qtest/test-filter-mirror.c | 6 +- tests/qtest/virtio-ccw-test.c | 6 +- .../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_h.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_w.c | 9 +- .../user/ase/msa/bit-count/test_msa_nlzc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nlzc_d.c | 9 +- .../user/ase/msa/bit-count/test_msa_nlzc_h.c | 9 +- .../user/ase/msa/bit-count/test_msa_nlzc_w.c | 9 +- .../user/ase/msa/bit-count/test_msa_pcnt_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_pcnt_d.c | 9 +- .../user/ase/msa/bit-count/test_msa_pcnt_h.c | 9 +- .../user/ase/msa/bit-count/test_msa_pcnt_w.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsl_b.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsl_d.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsl_h.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsl_w.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsr_b.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsr_d.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsr_h.c | 9 +- .../user/ase/msa/bit-move/test_msa_binsr_w.c | 9 +- .../user/ase/msa/bit-move/test_msa_bmnz_v.c | 9 +- .../user/ase/msa/bit-move/test_msa_bmz_v.c | 9 +- .../user/ase/msa/bit-move/test_msa_bsel_v.c | 9 +- .../user/ase/msa/bit-set/test_msa_bclr_b.c | 9 +- .../user/ase/msa/bit-set/test_msa_bclr_d.c | 9 +- .../user/ase/msa/bit-set/test_msa_bclr_h.c | 9 +- .../user/ase/msa/bit-set/test_msa_bclr_w.c | 9 +- .../user/ase/msa/bit-set/test_msa_bneg_b.c | 9 +- .../user/ase/msa/bit-set/test_msa_bneg_d.c | 9 +- .../user/ase/msa/bit-set/test_msa_bneg_h.c | 9 +- .../user/ase/msa/bit-set/test_msa_bneg_w.c | 9 +- .../user/ase/msa/bit-set/test_msa_bset_b.c | 9 +- .../user/ase/msa/bit-set/test_msa_bset_d.c | 9 +- .../user/ase/msa/bit-set/test_msa_bset_h.c | 9 +- .../user/ase/msa/bit-set/test_msa_bset_w.c | 9 +- .../msa/fixed-multiply/test_msa_madd_q_h.c | 9 +- .../msa/fixed-multiply/test_msa_madd_q_w.c | 9 +- .../msa/fixed-multiply/test_msa_maddr_q_h.c | 9 +- .../msa/fixed-multiply/test_msa_maddr_q_w.c | 9 +- .../msa/fixed-multiply/test_msa_msub_q_h.c | 9 +- .../msa/fixed-multiply/test_msa_msub_q_w.c | 9 +- .../msa/fixed-multiply/test_msa_msubr_q_h.c | 9 +- .../msa/fixed-multiply/test_msa_msubr_q_w.c | 9 +- .../ase/msa/fixed-multiply/test_msa_mul_q_h.c | 9 +- .../ase/msa/fixed-multiply/test_msa_mul_q_w.c | 9 +- .../msa/fixed-multiply/test_msa_mulr_q_h.c | 9 +- .../msa/fixed-multiply/test_msa_mulr_q_w.c | 9 +- .../ase/msa/float-max-min/test_msa_fmax_a_d.c | 9 +- .../ase/msa/float-max-min/test_msa_fmax_a_w.c | 9 +- .../ase/msa/float-max-min/test_msa_fmax_d.c | 9 +- .../ase/msa/float-max-min/test_msa_fmax_w.c | 9 +- .../ase/msa/float-max-min/test_msa_fmin_a_d.c | 9 +- .../ase/msa/float-max-min/test_msa_fmin_a_w.c | 9 +- .../ase/msa/float-max-min/test_msa_fmin_d.c | 9 +- .../ase/msa/float-max-min/test_msa_fmin_w.c | 9 +- .../user/ase/msa/int-add/test_msa_add_a_b.c | 9 +- .../user/ase/msa/int-add/test_msa_add_a_d.c | 9 +- .../user/ase/msa/int-add/test_msa_add_a_h.c | 9 +- .../user/ase/msa/int-add/test_msa_add_a_w.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_a_b.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_a_d.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_a_h.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_a_w.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_s_b.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_s_d.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_s_h.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_s_w.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_u_b.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_u_d.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_u_h.c | 9 +- .../user/ase/msa/int-add/test_msa_adds_u_w.c | 9 +- .../user/ase/msa/int-add/test_msa_addv_b.c | 9 +- .../user/ase/msa/int-add/test_msa_addv_d.c | 9 +- .../user/ase/msa/int-add/test_msa_addv_h.c | 9 +- .../user/ase/msa/int-add/test_msa_addv_w.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_s_d.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_s_h.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_s_w.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_u_d.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_u_h.c | 9 +- .../user/ase/msa/int-add/test_msa_hadd_u_w.c | 9 +- .../ase/msa/int-average/test_msa_ave_s_b.c | 9 +- .../ase/msa/int-average/test_msa_ave_s_d.c | 9 +- .../ase/msa/int-average/test_msa_ave_s_h.c | 9 +- .../ase/msa/int-average/test_msa_ave_s_w.c | 9 +- .../ase/msa/int-average/test_msa_ave_u_b.c | 9 +- .../ase/msa/int-average/test_msa_ave_u_d.c | 9 +- .../ase/msa/int-average/test_msa_ave_u_h.c | 9 +- .../ase/msa/int-average/test_msa_ave_u_w.c | 9 +- .../ase/msa/int-average/test_msa_aver_s_b.c | 9 +- .../ase/msa/int-average/test_msa_aver_s_d.c | 9 +- .../ase/msa/int-average/test_msa_aver_s_h.c | 9 +- .../ase/msa/int-average/test_msa_aver_s_w.c | 9 +- .../ase/msa/int-average/test_msa_aver_u_b.c | 9 +- .../ase/msa/int-average/test_msa_aver_u_d.c | 9 +- .../ase/msa/int-average/test_msa_aver_u_h.c | 9 +- .../ase/msa/int-average/test_msa_aver_u_w.c | 9 +- .../user/ase/msa/int-compare/test_msa_ceq_b.c | 9 +- .../user/ase/msa/int-compare/test_msa_ceq_d.c | 9 +- .../user/ase/msa/int-compare/test_msa_ceq_h.c | 9 +- .../user/ase/msa/int-compare/test_msa_ceq_w.c | 9 +- .../ase/msa/int-compare/test_msa_cle_s_b.c | 9 +- .../ase/msa/int-compare/test_msa_cle_s_d.c | 9 +- .../ase/msa/int-compare/test_msa_cle_s_h.c | 9 +- .../ase/msa/int-compare/test_msa_cle_s_w.c | 9 +- .../ase/msa/int-compare/test_msa_cle_u_b.c | 9 +- .../ase/msa/int-compare/test_msa_cle_u_d.c | 9 +- .../ase/msa/int-compare/test_msa_cle_u_h.c | 9 +- .../ase/msa/int-compare/test_msa_cle_u_w.c | 9 +- .../ase/msa/int-compare/test_msa_clt_s_b.c | 9 +- .../ase/msa/int-compare/test_msa_clt_s_d.c | 9 +- .../ase/msa/int-compare/test_msa_clt_s_h.c | 9 +- .../ase/msa/int-compare/test_msa_clt_s_w.c | 9 +- .../ase/msa/int-compare/test_msa_clt_u_b.c | 9 +- .../ase/msa/int-compare/test_msa_clt_u_d.c | 9 +- .../ase/msa/int-compare/test_msa_clt_u_h.c | 9 +- .../ase/msa/int-compare/test_msa_clt_u_w.c | 9 +- .../ase/msa/int-divide/test_msa_div_s_b.c | 9 +- .../ase/msa/int-divide/test_msa_div_s_d.c | 9 +- .../ase/msa/int-divide/test_msa_div_s_h.c | 9 +- .../ase/msa/int-divide/test_msa_div_s_w.c | 9 +- .../ase/msa/int-divide/test_msa_div_u_b.c | 9 +- .../ase/msa/int-divide/test_msa_div_u_d.c | 9 +- .../ase/msa/int-divide/test_msa_div_u_h.c | 9 +- .../ase/msa/int-divide/test_msa_div_u_w.c | 9 +- .../msa/int-dot-product/test_msa_dotp_s_d.c | 9 +- .../msa/int-dot-product/test_msa_dotp_s_h.c | 9 +- .../msa/int-dot-product/test_msa_dotp_s_w.c | 9 +- .../msa/int-dot-product/test_msa_dotp_u_d.c | 9 +- .../msa/int-dot-product/test_msa_dotp_u_h.c | 9 +- .../msa/int-dot-product/test_msa_dotp_u_w.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_s_d.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_s_h.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_s_w.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_u_d.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_u_h.c | 9 +- .../msa/int-dot-product/test_msa_dpadd_u_w.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_s_d.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_s_h.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_s_w.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_u_d.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_u_h.c | 9 +- .../msa/int-dot-product/test_msa_dpsub_u_w.c | 9 +- .../ase/msa/int-max-min/test_msa_max_a_b.c | 9 +- .../ase/msa/int-max-min/test_msa_max_a_d.c | 9 +- .../ase/msa/int-max-min/test_msa_max_a_h.c | 9 +- .../ase/msa/int-max-min/test_msa_max_a_w.c | 9 +- .../ase/msa/int-max-min/test_msa_max_s_b.c | 9 +- .../ase/msa/int-max-min/test_msa_max_s_d.c | 9 +- .../ase/msa/int-max-min/test_msa_max_s_h.c | 9 +- .../ase/msa/int-max-min/test_msa_max_s_w.c | 9 +- .../ase/msa/int-max-min/test_msa_max_u_b.c | 9 +- .../ase/msa/int-max-min/test_msa_max_u_d.c | 9 +- .../ase/msa/int-max-min/test_msa_max_u_h.c | 9 +- .../ase/msa/int-max-min/test_msa_max_u_w.c | 9 +- .../ase/msa/int-max-min/test_msa_min_a_b.c | 9 +- .../ase/msa/int-max-min/test_msa_min_a_d.c | 9 +- .../ase/msa/int-max-min/test_msa_min_a_h.c | 9 +- .../ase/msa/int-max-min/test_msa_min_a_w.c | 9 +- .../ase/msa/int-max-min/test_msa_min_s_b.c | 9 +- .../ase/msa/int-max-min/test_msa_min_s_d.c | 9 +- .../ase/msa/int-max-min/test_msa_min_s_h.c | 9 +- .../ase/msa/int-max-min/test_msa_min_s_w.c | 9 +- .../ase/msa/int-max-min/test_msa_min_u_b.c | 9 +- .../ase/msa/int-max-min/test_msa_min_u_d.c | 9 +- .../ase/msa/int-max-min/test_msa_min_u_h.c | 9 +- .../ase/msa/int-max-min/test_msa_min_u_w.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_s_b.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_s_d.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_s_h.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_s_w.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_u_b.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_u_d.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_u_h.c | 9 +- .../ase/msa/int-modulo/test_msa_mod_u_w.c | 9 +- .../ase/msa/int-multiply/test_msa_maddv_b.c | 9 +- .../ase/msa/int-multiply/test_msa_maddv_d.c | 9 +- .../ase/msa/int-multiply/test_msa_maddv_h.c | 9 +- .../ase/msa/int-multiply/test_msa_maddv_w.c | 9 +- .../ase/msa/int-multiply/test_msa_msubv_b.c | 9 +- .../ase/msa/int-multiply/test_msa_msubv_d.c | 9 +- .../ase/msa/int-multiply/test_msa_msubv_h.c | 9 +- .../ase/msa/int-multiply/test_msa_msubv_w.c | 9 +- .../ase/msa/int-multiply/test_msa_mulv_b.c | 9 +- .../ase/msa/int-multiply/test_msa_mulv_d.c | 9 +- .../ase/msa/int-multiply/test_msa_mulv_h.c | 9 +- .../ase/msa/int-multiply/test_msa_mulv_w.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_s_b.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_s_d.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_s_h.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_s_w.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_u_b.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_u_d.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_u_h.c | 9 +- .../ase/msa/int-subtract/test_msa_asub_u_w.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_s_d.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_s_h.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_s_w.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_u_d.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_u_h.c | 9 +- .../ase/msa/int-subtract/test_msa_hsub_u_w.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_s_b.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_s_d.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_s_h.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_s_w.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_u_b.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_u_d.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_u_h.c | 9 +- .../ase/msa/int-subtract/test_msa_subs_u_w.c | 9 +- .../msa/int-subtract/test_msa_subsus_u_b.c | 9 +- .../msa/int-subtract/test_msa_subsus_u_d.c | 9 +- .../msa/int-subtract/test_msa_subsus_u_h.c | 9 +- .../msa/int-subtract/test_msa_subsus_u_w.c | 9 +- .../msa/int-subtract/test_msa_subsuu_s_b.c | 9 +- .../msa/int-subtract/test_msa_subsuu_s_d.c | 9 +- .../msa/int-subtract/test_msa_subsuu_s_h.c | 9 +- .../msa/int-subtract/test_msa_subsuu_s_w.c | 9 +- .../ase/msa/int-subtract/test_msa_subv_b.c | 9 +- .../ase/msa/int-subtract/test_msa_subv_d.c | 9 +- .../ase/msa/int-subtract/test_msa_subv_h.c | 9 +- .../ase/msa/int-subtract/test_msa_subv_w.c | 9 +- .../ase/msa/interleave/test_msa_ilvev_b.c | 9 +- .../ase/msa/interleave/test_msa_ilvev_d.c | 9 +- .../ase/msa/interleave/test_msa_ilvev_h.c | 9 +- .../ase/msa/interleave/test_msa_ilvev_w.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvl_b.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvl_d.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvl_h.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvl_w.c | 9 +- .../ase/msa/interleave/test_msa_ilvod_b.c | 9 +- .../ase/msa/interleave/test_msa_ilvod_d.c | 9 +- .../ase/msa/interleave/test_msa_ilvod_h.c | 9 +- .../ase/msa/interleave/test_msa_ilvod_w.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvr_b.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvr_d.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvr_h.c | 9 +- .../user/ase/msa/interleave/test_msa_ilvr_w.c | 9 +- .../mips/user/ase/msa/logic/test_msa_and_v.c | 9 +- .../mips/user/ase/msa/logic/test_msa_nor_v.c | 9 +- .../mips/user/ase/msa/logic/test_msa_or_v.c | 9 +- .../mips/user/ase/msa/logic/test_msa_xor_v.c | 9 +- .../mips/user/ase/msa/move/test_msa_move_v.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckev_b.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckev_d.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckev_h.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckev_w.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckod_b.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckod_d.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckod_h.c | 9 +- .../mips/user/ase/msa/pack/test_msa_pckod_w.c | 9 +- .../mips/user/ase/msa/pack/test_msa_vshf_b.c | 9 +- .../mips/user/ase/msa/pack/test_msa_vshf_d.c | 9 +- .../mips/user/ase/msa/pack/test_msa_vshf_h.c | 9 +- .../mips/user/ase/msa/pack/test_msa_vshf_w.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sll_b.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sll_d.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sll_h.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sll_w.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sra_b.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sra_d.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sra_h.c | 9 +- .../mips/user/ase/msa/shift/test_msa_sra_w.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srar_b.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srar_d.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srar_h.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srar_w.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srl_b.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srl_d.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srl_h.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srl_w.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srlr_b.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srlr_d.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srlr_h.c | 9 +- .../mips/user/ase/msa/shift/test_msa_srlr_w.c | 9 +- .../mips64r6/bit-count/test_mips64r6_clo.c | 7 +- .../mips64r6/bit-count/test_mips64r6_clz.c | 7 +- .../mips64r6/bit-count/test_mips64r6_dclo.c | 7 +- .../mips64r6/bit-count/test_mips64r6_dclz.c | 7 +- .../mips64r6/bit-swap/test_mips64r6_bitswap.c | 7 +- .../bit-swap/test_mips64r6_dbitswap.c | 7 +- .../int-multiply/test_mips64r6_dmuh.c | 7 +- .../int-multiply/test_mips64r6_dmuhu.c | 7 +- .../int-multiply/test_mips64r6_dmul.c | 7 +- .../int-multiply/test_mips64r6_dmulu.c | 7 +- .../mips64r6/int-multiply/test_mips64r6_muh.c | 7 +- .../int-multiply/test_mips64r6_muhu.c | 7 +- .../mips64r6/int-multiply/test_mips64r6_mul.c | 7 +- .../int-multiply/test_mips64r6_mulu.c | 7 +- .../isa/mips64r6/logic/test_mips64r6_and.c | 7 +- .../isa/mips64r6/logic/test_mips64r6_nor.c | 7 +- .../isa/mips64r6/logic/test_mips64r6_or.c | 7 +- .../isa/mips64r6/logic/test_mips64r6_xor.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_dsllv.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_dsrav.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_dsrlv.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_sllv.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_srav.c | 7 +- .../isa/mips64r6/shift/test_mips64r6_srlv.c | 7 +- tests/tcg/multiarch/sha512.c | 9 +- tools/virtiofsd/fuse_lowlevel.c | 24 +--- .../xtensa/core-dsp3400/xtensa-modules.c.inc | 136 +++++------------- target/xtensa/core-lx106/xtensa-modules.c.inc | 16 +-- 328 files changed, 989 insertions(+), 2099 deletions(-)
scripts/coccinelle/return_directly.cocci +2 -3
@@ -11,9 +11,8 @@ identifier F; - T VAR; ... when != VAR -- VAR = -+ return - E; +- VAR = (E); - return VAR; ++ return E; ... when != VAR }
include/hw/pci/pci.h +2 -5
@@ -921,11 +921,8 @@ PCI_DMA_DEFINE_LDST(q_be, q_be, 64);static inline void *pci_dma_map (PCIDevice *dev,dma_addr_t addr,dma_addr_t *plen,DMADirection dir) { -void *buf; - - buf =dma_memory_map (pci_get_address_space (dev), addr, plen, dir, -MEMTXATTRS_UNSPECIFIED ); -return buf; +return dma_memory_map (pci_get_address_space (dev), addr, plen, dir, +MEMTXATTRS_UNSPECIFIED ); } static inline void pci_dma_unmap(PCIDevice *dev, void *buffer, dma_addr_t len,
target/avr/cpu.h +1 -3
@@ -215,8 +215,7 @@ static inline int cpu_interrupts_enabled(CPUAVRState *env)static inline uint8_t cpu_get_sreg (CPUAVRState *env) { -uint8_t sreg; - sreg = (env->sregC) <<0 +return (env->sregC) <<0 | (env->sregZ) <<1 | (env->sregN) <<2 | (env->sregV) <<3
@@ -224,7 +223,6 @@ static inline uint8_t cpu_get_sreg(CPUAVRState *env) | (env->sregH) << 5 | (env->sregT) <<6 | (env->sregI) <<7 ; -return sreg; }static inline void cpu_set_sreg (CPUAVRState *env,uint8_t sreg)
block/vmdk.c +11 -17
@@ -2821,7 +2821,6 @@ static BlockBackend *vmdk_co_create_cb(int64_t size, int idx, static int coroutine_fn vmdk_co_create(BlockdevCreateOptions *create_options,Error **errp) { -int ret;BlockdevCreateOptionsVmdk *opts; opts = &create_options->u.vmdk;
@@ -2829,24 +2828,19 @@ static int coroutine_fn vmdk_co_create(BlockdevCreateOptions *create_options,/* Validate options */ if (!QEMU_IS_ALIGNED (opts->size,BDRV_SECTOR_SIZE )) {error_setg (errp,"Image size must be a multiple of 512 bytes" ); - ret = -EINVAL ; - goto out; +return -EINVAL ; } - ret =vmdk_co_do_create (opts->size, - opts->subformat, - opts->adapter_type, - opts->backing_file, - opts->hwversion, - opts->toolsversion, - false, - opts->zeroed_grain, - vmdk_co_create_cb, - opts, errp); -return ret; - -out: -return ret; +return vmdk_co_do_create (opts->size, + opts->subformat, + opts->adapter_type, + opts->backing_file, + opts->hwversion, + opts->toolsversion, + false, + opts->zeroed_grain, + vmdk_co_create_cb, + opts, errp); }static void vmdk_close (BlockDriverState *bs)
hw/9pfs/9p-synth.c +4 -10
@@ -72,7 +72,6 @@ static V9fsSynthNode *v9fs_add_dir_node(V9fsSynthNode *parent, int mode,int qemu_v9fs_synth_mkdir (V9fsSynthNode *parent,int mode,const char *name,V9fsSynthNode **result) { -int ret;V9fsSynthNode *node, *tmp;if (!synth_fs) {
@@ -87,8 +86,7 @@ int qemu_v9fs_synth_mkdir(V9fsSynthNode *parent, int mode,QEMU_LOCK_GUARD (&synth_mutex); QLIST_FOREACH(tmp, &parent->child, sibling) {if (!strcmp (tmp->name, name)) { - ret =EEXIST ; -return ret; +return EEXIST ; } }/* Add the name */
@@ -98,15 +96,13 @@ int qemu_v9fs_synth_mkdir(V9fsSynthNode *parent, int mode,v9fs_add_dir_node (node, node->attr->mode,"." , node->attr, node->attr->inode); *result = node; - ret =0 ; -return ret; +return 0 ; }int qemu_v9fs_synth_add_file (V9fsSynthNode *parent,int mode,const char *name,v9fs_synth_read read,v9fs_synth_write write,void *arg) { -int ret;V9fsSynthNode *node, *tmp;if (!synth_fs) {
@@ -122,8 +118,7 @@ int qemu_v9fs_synth_add_file(V9fsSynthNode *parent, int mode,QEMU_LOCK_GUARD (&synth_mutex); QLIST_FOREACH(tmp, &parent->child, sibling) {if (!strcmp (tmp->name, name)) { - ret =EEXIST ; -return ret; +return EEXIST ; } }/* Add file type and remove write bits */
@@ -138,8 +133,7 @@ int qemu_v9fs_synth_add_file(V9fsSynthNode *parent, int mode, node->private = arg;pstrcpy (node->name,sizeof (node->name), name);QLIST_INSERT_HEAD_RCU (&parent->child, node, sibling); - ret =0 ; -return ret; +return 0 ; }static void synth_fill_statbuf (V9fsSynthNode *node,struct stat *stbuf)
hw/char/sifive_uart.c +1 -3
@@ -274,7 +274,6 @@ SiFiveUARTState *sifive_uart_create(MemoryRegion *address_space, hwaddr base, {DeviceState *dev;SysBusDevice *s; -SiFiveUARTState *r; dev =qdev_new ("riscv.sifive.uart" ); s =SYS_BUS_DEVICE (dev);
@@ -284,6 +283,5 @@ SiFiveUARTState *sifive_uart_create(MemoryRegion *address_space, hwaddr base, sysbus_mmio_get_region(s, 0));sysbus_connect_irq (s,0 , irq); - r =SIFIVE_UART (dev); -return r; +return SIFIVE_UART (dev); }
hw/ppc/ppc4xx_sdram.c +1 -4
@@ -520,13 +520,10 @@ static inline hwaddr sdram_ddr2_base(uint32_t bcr)static hwaddr sdram_ddr2_size (uint32_t bcr) { -hwaddr size;int sh; sh =1024 - ((bcr >>6 ) &0x3ff ); - size =8 * MiB * sh; - -return size; +return 8 * MiB * sh; }static uint32_t sdram_ddr2_dcr_read (void *opaque,int dcrn)
hw/rdma/vmw/pvrdma_cmd.c +20 -37
114 lines not on this page · raw message
hw/virtio/vhost-user.c +1 -5
@@ -2532,11 +2532,7 @@ vhost_user_crypto_close_session(struct vhost_dev *dev, uint64_t session_id)static bool vhost_user_mem_section_filter (struct vhost_dev *dev,MemoryRegionSection *section) { -bool result; - - result =memory_region_get_fd (section->mr) >=0 ; - -return result; +return memory_region_get_fd (section->mr) >=0 ; } static int vhost_user_get_inflight_fd(struct vhost_dev *dev,
migration/dirtyrate.c +2 -8
@@ -111,7 +111,6 @@ static void global_dirty_log_sync(unsigned int flag, bool one_shot)static DirtyPageRecord *vcpu_dirty_stat_alloc (VcpuStat *stat) {CPUState *cpu; -DirtyPageRecord *records;int nvcpu =0 ;CPU_FOREACH (cpu) {
@@ -121,9 +120,7 @@ static DirtyPageRecord *vcpu_dirty_stat_alloc(VcpuStat *stat) stat->nvcpu = nvcpu; stat->rates =g_new0 (DirtyRateVcpu, nvcpu); - records =g_new0 (DirtyPageRecord, nvcpu); - -return records; +return g_new0 (DirtyPageRecord, nvcpu); } static void vcpu_dirty_stat_collect(VcpuStat *stat,
@@ -473,7 +470,6 @@ find_block_matched(RAMBlock *block, int count, struct RamblockDirtyInfo *infos) {int i; -struct RamblockDirtyInfo *matched;for (i =0 ; i < count; i++) {if (!strcmp (infos[i].idstr,qemu_ram_get_idstr (block))) {
@@ -492,9 +488,7 @@ find_block_matched(RAMBlock *block, int count,return NULL ; } - matched = &infos[i]; - -return matched; +return &infos[i]; } static bool compare_page_hash_info(struct RamblockDirtyInfo *info,
migration/tls.c +1 -5
@@ -126,7 +126,6 @@ QIOChannelTLS *migration_tls_client_create(MigrationState *s, Error **errp) {QCryptoTLSCreds *creds; -QIOChannelTLS *tioc; creds =migration_tls_get_creds ( s,QCRYPTO_TLS_CREDS_ENDPOINT_CLIENT , errp);
@@ -138,10 +137,7 @@ QIOChannelTLS *migration_tls_client_create(MigrationState *s, hostname = s->parameters.tls_hostname; } - tioc =qio_channel_tls_new_client ( - ioc, creds, hostname, errp); - -return tioc; +return qio_channel_tls_new_client (ioc, creds, hostname, errp); } void migration_tls_channel_connect(MigrationState *s,
replay/replay-time.c +1 -4
@@ -48,7 +48,6 @@ void replay_read_next_clock(ReplayClockKind kind)/*! Reads next clock event from the input. */ int64_t replay_read_clock (ReplayClockKind kind,int64_t raw_icount) { -int64_t ret;g_assert (replay_file &&replay_mutex_locked ());replay_advance_current_icount (raw_icount);
@@ -56,7 +55,5 @@ int64_t replay_read_clock(ReplayClockKind kind, int64_t raw_icount)if (replay_next_event_is (EVENT_CLOCK + kind)) {replay_read_next_clock (kind); } - ret = replay_state.cached_clock[kind]; - -return ret; +return replay_state.cached_clock[kind]; }
semihosting/console.c +1 -3
@@ -43,10 +43,8 @@ static SemihostingConsole console;static int console_can_read (void *opaque) {SemihostingConsole *c = opaque; -int ret;g_assert (qemu_mutex_iothread_locked ()); - ret = (int )fifo8_num_free (&c->fifo); -return ret; +return (int )fifo8_num_free (&c->fifo); }static void console_wake_up (gpointer data,gpointer user_data)
softmmu/memory.c +2 -9
@@ -2372,20 +2372,15 @@ void memory_region_reset_dirty(MemoryRegion *mr, hwaddr addr,int memory_region_get_fd (MemoryRegion *mr) { -int fd; -RCU_READ_LOCK_GUARD ();while (mr->alias) { mr = mr->alias; } - fd = mr->ram_block->fd; - -return fd; +return mr->ram_block->fd; }void *memory_region_get_ram_ptr (MemoryRegion *mr) { -void *ptr;uint64_t offset =0 ;RCU_READ_LOCK_GUARD ();
@@ -2394,9 +2389,7 @@ void *memory_region_get_ram_ptr(MemoryRegion *mr) mr = mr->alias; }assert (mr->ram_block); - ptr =qemu_map_ram_ptr (mr->ram_block, offset); - -return ptr; +return qemu_map_ram_ptr (mr->ram_block, offset); }MemoryRegion *memory_region_from_host (void *ptr,ram_addr_t *offset)
softmmu/physmem.c +2 -7
@@ -3236,7 +3236,6 @@ void *address_space_map(AddressSpace *as,hwaddr len = *plen;hwaddr l, xlat;MemoryRegion *mr; -void *ptr;FlatView *fv;if (len ==0 ) {
@@ -3275,9 +3274,7 @@ void *address_space_map(AddressSpace *as, *plen =flatview_extend_translation (fv, addr, len, mr, xlat, l, is_write, attrs);fuzz_dma_read_cb (addr, *plen, mr); - ptr =qemu_ram_ptr_length (mr->ram_block, xlat, plen, true); - -return ptr; +return qemu_ram_ptr_length (mr->ram_block, xlat, plen, true); }/* Unmaps a memory region previously mapped by address_space_map().
@@ -3545,15 +3542,13 @@ bool cpu_physical_memory_is_io(hwaddr phys_addr) {MemoryRegion *mr;hwaddr l =1 ; -bool res;RCU_READ_LOCK_GUARD (); mr =address_space_translate (&address_space_memory, phys_addr, &phys_addr, &l, false,MEMTXATTRS_UNSPECIFIED ); - res = !(memory_region_is_ram (mr) ||memory_region_is_romd (mr)); -return res; +return !(memory_region_is_ram (mr) ||memory_region_is_romd (mr)); }int qemu_ram_foreach_block (RAMBlockIterFunc func,void *opaque)
target/loongarch/cpu.c +1 -3
@@ -128,13 +128,11 @@ static inline bool cpu_loongarch_hw_interrupts_pending(CPULoongArchState *env) {uint32_t pending;uint32_t status; -bool r; pending =FIELD_EX64 (env->CSR_ESTAT,CSR_ESTAT ,IS ); status =FIELD_EX64 (env->CSR_ECFG,CSR_ECFG ,LIE ); - r = (pending & status) !=0 ; -return r; +return (pending & status) !=0 ; }static void loongarch_cpu_do_interrupt (CPUState *cs)
target/mips/tcg/dsp_helper.c +3 -12
@@ -3281,15 +3281,12 @@ target_ulong helper_dextr_l(target_ulong ac, target_ulong shift, CPUMIPSState *env) {uint64_t temp[3 ]; -target_ulong ret; shift = shift &0x3F ;mipsdsp_rndrashift_acc (temp, ac, shift, env); - ret = (temp[1 ] <<63 ) | (temp[0 ] >>1 ); - -return ret; +return (temp[1 ] <<63 ) | (temp[0 ] >>1 ); } target_ulong helper_dextr_r_l(target_ulong ac, target_ulong shift,
@@ -3297,7 +3294,6 @@ target_ulong helper_dextr_r_l(target_ulong ac, target_ulong shift, {uint64_t temp[3 ];uint32_t temp128; -target_ulong ret; shift = shift &0x3F ;mipsdsp_rndrashift_acc (temp, ac, shift, env);
@@ -3317,9 +3313,7 @@ target_ulong helper_dextr_r_l(target_ulong ac, target_ulong shift,set_DSPControl_overflow_flag (1 ,23 , env); } - ret = (temp[1 ] <<63 ) | (temp[0 ] >>1 ); - -return ret; +return (temp[1 ] <<63 ) | (temp[0 ] >>1 ); } target_ulong helper_dextr_rs_l(target_ulong ac, target_ulong shift,
@@ -3327,7 +3321,6 @@ target_ulong helper_dextr_rs_l(target_ulong ac, target_ulong shift, {uint64_t temp[3 ];uint32_t temp128; -target_ulong ret; shift = shift &0x3F ;mipsdsp_rndrashift_acc (temp, ac, shift, env);
@@ -3354,9 +3347,7 @@ target_ulong helper_dextr_rs_l(target_ulong ac, target_ulong shift, set_DSPControl_overflow_flag(1, 23, env); } - ret = (temp[1 ] <<63 ) | (temp[0 ] >>1 ); - -return ret; +return (temp[1 ] <<63 ) | (temp[0 ] >>1 ); }#endif
target/riscv/debug.c +2 -4
@@ -243,15 +243,13 @@ static void do_trigger_action(CPURISCVState *env, target_ulong trigger_index)static uint32_t type2_breakpoint_size (CPURISCVState *env,target_ulong ctrl) { -uint32_t size, sizelo, sizehi =0 ; +uint32_t sizelo, sizehi =0 ;if (riscv_cpu_mxl (env) ==MXL_RV64 ) { sizehi =extract32 (ctrl,21 ,2 ); } sizelo =extract32 (ctrl,16 ,2 ); - size = (sizehi <<2 ) | sizelo; - -return size; +return (sizehi <<2 ) | sizelo; }static inline bool type2_breakpoint_enabled (target_ulong ctrl)
target/riscv/vector_helper.c +7 -21
@@ -2791,31 +2791,25 @@ static inline uint16_t vssrl16(CPURISCVState *env, int vxrm, uint16_t a, uint16_t b) {uint8_t round, shift = b &0xf ; -uint16_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }static inline uint32_t vssrl32 (CPURISCVState *env,int vxrm,uint32_t a,uint32_t b) {uint8_t round, shift = b &0x1f ; -uint32_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }static inline uint64_t vssrl64 (CPURISCVState *env,int vxrm,uint64_t a,uint64_t b) {uint8_t round, shift = b &0x3f ; -uint64_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; } RVVCALL(OPIVV2_RM, vssrl_vv_b, OP_UUU_B, H1, H1, H1, vssrl8)RVVCALL (OPIVV2_RM , vssrl_vv_h,OP_UUU_H ,H2 ,H2 ,H2 , vssrl16)
@@ -2839,41 +2833,33 @@ static inline int8_t vssra8(CPURISCVState *env, int vxrm, int8_t a, int8_t b) {uint8_t round, shift = b &0x7 ; -int8_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }static inline int16_t vssra16 (CPURISCVState *env,int vxrm,int16_t a,int16_t b) {uint8_t round, shift = b &0xf ; -int16_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }static inline int32_t vssra32 (CPURISCVState *env,int vxrm,int32_t a,int32_t b) {uint8_t round, shift = b &0x1f ; -int32_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }static inline int64_t vssra64 (CPURISCVState *env,int vxrm,int64_t a,int64_t b) {uint8_t round, shift = b &0x3f ; -int64_t res; round =get_round (vxrm, a, shift); - res = (a >> shift) + round; -return res; +return (a >> shift) + round; }RVVCALL (OPIVV2_RM , vssra_vv_b,OP_SSS_B ,H1 ,H1 ,H1 , vssra8)
tests/bench/benchmark-crypto-akcipher.c +2 -4
@@ -24,14 +24,12 @@ static QCryptoAkCipher *create_rsa_akcipher(const uint8_t *priv_key, QCryptoHashAlgorithm hash) {QCryptoAkCipherOptions opt; -QCryptoAkCipher *rsa; opt.alg =QCRYPTO_AKCIPHER_ALG_RSA ; opt.u.rsa.padding_alg = padding; opt.u.rsa.hash_alg = hash; - rsa =qcrypto_akcipher_new (&opt,QCRYPTO_AKCIPHER_KEY_TYPE_PRIVATE , - priv_key, keylen, &error_abort); -return rsa; +return qcrypto_akcipher_new (&opt,QCRYPTO_AKCIPHER_KEY_TYPE_PRIVATE , + priv_key, keylen, &error_abort); } static void test_rsa_speed(const uint8_t *priv_key, size_t keylen,
tests/qtest/erst-test.c +1 -4
@@ -154,10 +154,7 @@ static void test_acpi_erst_basic(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/acpi-erst/basic" , test_acpi_erst_basic); - ret =g_test_run (); -return ret; +return g_test_run (); }
tests/qtest/hexloader-test.c +1 -5
@@ -34,12 +34,8 @@ static void hex_loader_test(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/tmp/hex_loader" , hex_loader_test); - ret =g_test_run (); - -return ret; +return g_test_run (); }
tests/qtest/pvpanic-pci-test.c +1 -5
@@ -86,13 +86,9 @@ static void test_panic(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/pvpanic-pci/panic" , test_panic);qtest_add_func ("/pvpanic-pci/panic-nopause" , test_panic_nopause); - ret =g_test_run (); - -return ret; +return g_test_run (); }
tests/qtest/pvpanic-test.c +1 -5
@@ -59,13 +59,9 @@ static void test_panic(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/pvpanic/panic" , test_panic);qtest_add_func ("/pvpanic/panic-nopause" , test_panic_nopause); - ret =g_test_run (); - -return ret; +return g_test_run (); }
tests/qtest/test-filter-mirror.c +1 -5
@@ -76,12 +76,8 @@ static void test_mirror(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/netfilter/mirror" , test_mirror); - ret =g_test_run (); - -return ret; +return g_test_run (); }
tests/qtest/virtio-ccw-test.c +1 -5
@@ -95,8 +95,6 @@ static void virtio_scsi_hotplug(void)int main (int argc,char **argv) { -int ret; -g_test_init (&argc, &argv,NULL );qtest_add_func ("/virtio/balloon/nop" , virtio_balloon_nop);qtest_add_func ("/virtio/console/nop" , virtconsole_nop);
@@ -109,7 +107,5 @@ int main(int argc, char **argv)qtest_add_func ("/virtio/scsi/nop" , virtio_scsi_nop);qtest_add_func ("/virtio/scsi/hotplug" , virtio_scsi_hotplug); - ret =g_test_run (); - -return ret; +return g_test_run (); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_b.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLOC.B" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_d.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLOC.D" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_h.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLOC.H" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nloc_w.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLOC.W" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_b.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLZC.B" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_d.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLZC.D" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_h.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLZC.H" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_nlzc_w.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="NLZC.W" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_b.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="PCNT.B" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_d.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="PCNT.D" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_h.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="PCNT.H" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-count/test_msa_pcnt_w.c +3 -6
@@ -34,7 +34,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Count" ;char *instruction_name ="PCNT.W" ; -int32_t ret;uint32_t i;struct timeval start, end;double elapsed_time;
@@ -141,9 +140,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_b.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSL.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSL.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_h.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSL.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSL.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_b.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSR.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSR.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_h.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSR.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BINSR.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_bmnz_v.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BMNZ.V" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_bmz_v.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BMZ.V" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-move/test_msa_bsel_v.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Move" ;char *instruction_name ="BSEL.V" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -206,9 +205,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_b.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BCLR.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BCLR.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_h.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BCLR.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BCLR.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_b.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BNEG.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BNEG.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_h.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BNEG.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BNEG.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_b.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BSET.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BSET.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_h.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BSET.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Bit Set" ;char *instruction_name ="BSET.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_madd_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MADD_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_madd_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MADD_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_maddr_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MADDR_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_maddr_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MADDR_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_msub_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MSUB_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_msub_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MSUB_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_msubr_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MSUBR_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_msubr_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MSUBR_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -208,9 +207,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_mul_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MUL_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_mul_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MUL_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_mulr_q_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MULR_Q.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/fixed-multiply/test_msa_mulr_q_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Fixed Multiply" ;char *instruction_name ="MULR_Q.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmax_a_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMAX_A.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmax_a_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMAX_A.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmax_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMAX.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmax_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMAX.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmin_a_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMIN_A.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmin_a_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMIN_A.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmin_d.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMIN.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/float-max-min/test_msa_fmin_w.c +3 -6
@@ -36,7 +36,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Float Max Min" ;char *instruction_name ="FMIN.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -150,9 +149,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADD_A.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADD_A.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADD_A.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_add_a_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADD_A.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_A.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_A.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_A.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_a_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_A.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_adds_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDS_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDV.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDV.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDV.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_addv_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="ADDV.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-add/test_msa_hadd_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Add" ;char *instruction_name ="HADD_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_ave_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVE_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-average/test_msa_aver_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Average" ;char *instruction_name ="AVER_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CEQ.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CEQ.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CEQ.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_ceq_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CEQ.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_cle_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLE_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_U.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_U.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-compare/test_msa_clt_u_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Compare" ;char *instruction_name ="CLT_U.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Divide" ;char *instruction_name ="DIV_S.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_d.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Divide" ;char *instruction_name ="DIV_S.D" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_h.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Divide" ;char *instruction_name ="DIV_S.H" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_s_w.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Divide" ;char *instruction_name ="DIV_S.W" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; +return check_results_128 (isa_ase_name, group_name, instruction_name, +TEST_COUNT_TOTAL , elapsed_time, + &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); }
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_b.c +3 -6
@@ -38,7 +38,6 @@ int32_t main(void)char *isa_ase_name ="MSA" ;char *group_name ="Int Divide" ;char *instruction_name ="DIV_U.B" ; -int32_t ret;uint32_t i, j;struct timeval start, end;double elapsed_time;
@@ -152,9 +151,7 @@ int32_t main(void) elapsed_time = (end.tv_sec - start.tv_sec) *1000.0 ; elapsed_time += (end.tv_usec - start.tv_usec) /1000.0 ; - ret =check_results_128 (isa_ase_name, group_name, instruction_name, -TEST_COUNT_TOTAL , elapsed_time, - &b128_result[0 ][0 ], &b128_expect[0 ][0 ]); - -return ret; + return check_results_128(isa_ase_name, group_name, instruction_name,
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-divide/test_msa_div_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dotp_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_a_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_max_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_a_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-max-min/test_msa_min_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-modulo/test_msa_mod_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-multiply/test_msa_mulv_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_asub_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_hsub_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subs_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsus_u_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subsuu_s_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/int-subtract/test_msa_subv_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvev_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvl_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvod_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/interleave/test_msa_ilvr_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/logic/test_msa_and_v.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/logic/test_msa_nor_v.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/logic/test_msa_or_v.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/logic/test_msa_xor_v.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/move/test_msa_move_v.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckev_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_pckod_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/pack/test_msa_vshf_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_b.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_d.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_h.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_w.c +3 -6
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clo.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_clz.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclo.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-count/test_mips64r6_dclz.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_bitswap.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/bit-swap/test_mips64r6_dbitswap.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuh.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmuhu.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmul.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_dmulu.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muh.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_muhu.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mul.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/int-multiply/test_mips64r6_mulu.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_and.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_nor.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_or.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/logic/test_mips64r6_xor.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsllv.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrav.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_dsrlv.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_sllv.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srav.c +2 -5
Lines of this file are not shown. View the raw message.
tests/tcg/mips/user/isa/mips64r6/shift/test_mips64r6_srlv.c +2 -5
Lines of this file are not shown. View the raw message.
target/xtensa/core-dsp3400/xtensa-modules.c.inc +34 -102
136 lines not on this page · raw message
target/xtensa/core-lx106/xtensa-modules.c.inc +4 -12
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.37.3
Part of the diff is not shown here. View the raw message.
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.
Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-
[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)
This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
I definitely don't think you should put manual tidying changes in the same patch as 3000 lines of automated changes: that is in my opinion un-reviewable.
thanks
-- PMM
Quoted 28 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-
Quoted 8 lines
[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
Good question.
Quoted 3 lines
I definitely don't think you should put manual tidying changes in the same patch as 3000 lines of automated changes: that is in my opinion un-reviewable.
I can split off the manual cleanup of vmdk_co_create().
The others are really just "don't delete this comment", "don't insert a line containing just spaces", and "don't reflow this expression, keep the line breaks right where they are".
Quoted 28 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-
Quoted 8 lines
[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
They are imported and will unlikely be modified.
Quoted 31 lines · Philippe Mathieu-Daudé
Quoted 30 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-[snip long list of other mips test files]
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
They are imported and will unlikely be modified.
Not obvious to me from git-log.
Should I drop the changes to tests/tcg/mips/?
Quoted 39 lines · Markus Armbruster
Quoted 37 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
Quoted 5 lines
Quoted 1 line
They are imported and will unlikely be modified.
Not obvious to me from git-log.
Should I drop the changes to tests/tcg/mips/?
I'd say yes. At least move them to a separate patch. Otherwise reviewing this patch here is no fun at all.
Thomas
Quoted 40 lines · Thomas Huth
Quoted 39 lines · Markus Armbruster
Quoted 37 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
They are imported and will unlikely be modified.
Not obvious to me from git-log.
Should I drop the changes to tests/tcg/mips/?
I'd say yes. At least move them to a separate patch.
Possible status of tests/tcg/mips/:
1. Imported, should not be modified
Drop from the patch.
2. Not imported, should be modified
2a. To be reviewed separately from the remainder of the patch
Split off.
2b. Likewise, but nobody will care to review, realistically
Split off and merge anyway, or drop. I'd go for the latter.
2c. To be reviewed together with the remainder of the patch
Keep as is.
Which one is it?
Quoted 2 lines
Otherwise reviewing
this patch here is no fun at all.
I don't think complete detailed review is necessary or even sensible.
Review should start with the Coccinelle script:
// replace 'R = X; return R;' with 'return X;'
@@
identifier VAR;
expression E;
type T;
identifier F;
@@
T F(...)
{
...
- T VAR;
... when != VAR
- VAR = (E);
- return VAR;
+ return E;
... when != VAR
}What could go wrong? Not a rhetorical question!
The simple part is executing the rule. It'll *delete* variable VAR, and *preserve* expression E.
The tricky part is deciding whether the rule matches, in particular proving that there are no other uses of VAR. If Coccinelle gets that wrong, the code no longer compiles *unless* there is another, global VAR of suitable type.
Turns out Coccinelle does get it wrong for vmdk_co_create(), and the compiler duly rejects it. I don't understand why it gets it wrong.
To help understand the script, and as a sanity check, reviewing some of its patches is advisable. Reviewing all of them feels impractical.
Quoted 23 lines · Markus Armbruster
I don't think complete detailed review is necessary or even sensible.
Review should start with the Coccinelle script:
// replace 'R = X; return R;' with 'return X;' @@ identifier VAR; expression E; type T; identifier F; @@ T F(...) { ... - T VAR; ... when != VAR - VAR = (E); - return VAR; + return E; ... when != VAR }
Quoted 1 line
What could go wrong? Not a rhetorical question!
The obvious answer is "you might have got your manual tweaking wrong". A purely mechanised patch I can review by looking at the script and maybe eyeballing a few instances of the change; a change that is 99% mechanised and 1% hand-written I need to run through to find the hand-written parts.
But mostly this patch is hard to review for its sheer size, mechanical changes or not. A 3000 line patchmail is so big that the UI on my mail client gets pretty unwieldy.
-- PMM
Quoted 24 lines · Peter Maydell
Quoted 23 lines · Markus Armbruster
I don't think complete detailed review is necessary or even sensible.
Review should start with the Coccinelle script:
// replace 'R = X; return R;' with 'return X;' @@ identifier VAR; expression E; type T; identifier F; @@ T F(...) { ... - T VAR; ... when != VAR - VAR = (E); - return VAR; + return E; ... when != VAR }
Quoted 7 lines
Quoted 1 line
What could go wrong? Not a rhetorical question!
The obvious answer is "you might have got your manual tweaking wrong". A purely mechanised patch I can review by looking at the script and maybe eyeballing a few instances of the change; a change that is 99% mechanised and 1% hand-written I need to run through to find the hand-written parts.
Define "handwritten" :)
If reverting unwanted line-breaks and blank lines counts, then I can make two patches, one straight from Coccinelle, and one that reverts the unwanted crap. The first one will be larger and more annoying to review than this one. A clear loss in my book, but I'm the patch submitter, not a patch reviewer, so my book doesn't matter.
Else, we're down to one file, which I already offered to split off.
Quoted 3 lines
But mostly this patch is hard to review for its sheer size, mechanical changes or not. A 3000 line patchmail is so big that the UI on my mail client gets pretty unwieldy.
With the manual one split off, target/xtensa/ dropped as requested by Max, and tests/tcg/mips/ dropped because its status is unclear (and I start to find it hard to care), we're down to
28 files changed, 81 insertions(+), 221 deletions(-)
This will be v2.
Quoted 22 lines · Markus Armbruster
Quoted 5 lines · Peter Maydell
The obvious answer is "you might have got your manual tweaking wrong". A purely mechanised patch I can review by looking at the script and maybe eyeballing a few instances of the change; a change that is 99% mechanised and 1% hand-written I need to run through to find the hand-written parts.
Define "handwritten" :)
If reverting unwanted line-breaks and blank lines counts, then I can make two patches, one straight from Coccinelle, and one that reverts the unwanted crap. The first one will be larger and more annoying to review than this one. A clear loss in my book, but I'm the patch submitter, not a patch reviewer, so my book doesn't matter.
Else, we're down to one file, which I already offered to split off.
Quoted 3 lines
But mostly this patch is hard to review for its sheer size, mechanical changes or not. A 3000 line patchmail is so big that the UI on my mail client gets pretty unwieldy.
Quoted 5 lines
With the manual one split off, target/xtensa/ dropped as requested by Max, and tests/tcg/mips/ dropped because its status is unclear (and I start to find it hard to care), we're down to
28 files changed, 81 insertions(+), 221 deletions(-)
Yes, this is much better and "I hand tweaked these things" is reasonable in a patch that big. It's the combination of the ginormous multi-thousand-line patch and the hand tweaking that was the really awkward part.
thanks
-- PMM
Quoted 64 lines · Markus Armbruster
Quoted 40 lines · Thomas Huth
Quoted 39 lines · Markus Armbruster
Quoted 37 lines · Philippe Mathieu-Daudé
Quoted 35 lines · Peter Maydell
Quoted 19 lines · Markus Armbruster
Tweak the semantic patch to drop redundant parenthesis around the return expression.
Coccinelle drops comments in
hw/rdma/vmw/pvrdma_cmd.c; restored manually.Coccinelle messes up
vmdk_co_create(), not sure why. Transformed manually.Line breaks in
target/avr/cpu.handhw/rdma/vmw/pvrdma_cmd.ctidied up manually.Whitespace in
fuse_reply_iov()tidied up manually.checkpatch.pl complains "return of an errno should typically be -ve" two times for
hw/9pfs/9p-synth.c. Preexisting, the patch merely makes it visible to checkpatch.pl.Quoted 8 lines
checkpatch.pl complains "return is not a function, parentheses are not required" three times for
target/mips/tcg/dsp_helper.c. False positives.Signed-off-by Markus Armbruster <[email protected]>.../user/ase/msa/bit-count/test_msa_nloc_b.c | 9 +- .../user/ase/msa/bit-count/test_msa_nloc_d.c | 9 +-[snip long list of other mips test files]
Quoted 1 line
328 files changed, 989 insertions(+), 2099 deletions(-)This patch seems to almost entirely be huge because of these mips test case files. Are they specific to QEMU or are they effectively a 3rd-party import that it doesn't make sense to make local changes to?
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
They are imported and will unlikely be modified.
Not obvious to me from git-log.
Should I drop the changes to tests/tcg/mips/?
I'd say yes. At least move them to a separate patch.
Possible status of tests/tcg/mips/:
1. Imported, should not be modified
Drop from the patch.
2. Not imported, should be modified
2a. To be reviewed separately from the remainder of the patch
Split off.
2b. Likewise, but nobody will care to review, realistically
Quoted 7 lines
Split off and merge anyway, or drop. I'd go for the latter.
2c. To be reviewed together with the remainder of the patch
Keep as is.
Which one is it?
"1. Imported, should not be modified" please :)
Quoted 2 lines · Markus Armbruster
.../xtensa/core-dsp3400/xtensa-modules.c.inc | 136 +++++------------- target/xtensa/core-lx106/xtensa-modules.c.inc | 16 +--
These files are generated and were imported from xtensa configuration overlays, they're not supposed to be changed.
Signature · 2 lines
Thanks. -- Max
Quoted 6 lines · Max Filippov
Quoted 2 lines · Markus Armbruster
.../xtensa/core-dsp3400/xtensa-modules.c.inc | 136 +++++------------- target/xtensa/core-lx106/xtensa-modules.c.inc | 16 +--These files are generated and were imported from xtensa configuration overlays, they're not supposed to be changed.
Will drop. Thanks!
Quoted 6 lines · Max Filippov
Quoted 2 lines · Markus Armbruster
.../xtensa/core-dsp3400/xtensa-modules.c.inc | 136 +++++------------- target/xtensa/core-lx106/xtensa-modules.c.inc | 16 +--These files are generated and were imported from xtensa configuration overlays, they're not supposed to be changed.
Tools can get the repository file list using 'git ls-files', which itself support file pattern exclusion [*].
We can create i.e. 'scripts/imported-files.txt' with:
linux-headers/
target/hexagon/imported/
target/xtensa/core*
tests/tcg/mips/user/
Then use 'git ls-files --exclude-from=scripts/imported-files.txt' ...
[*] https://git-scm.com/docs/git-ls-files#Documentation/git-ls-files.txt---exclude-fromltfilegt
Quoted 12 lines · Philippe Mathieu-Daudé
Quoted 6 lines · Max Filippov
Quoted 2 lines · Markus Armbruster
.../xtensa/core-dsp3400/xtensa-modules.c.inc | 136 +++++------------- target/xtensa/core-lx106/xtensa-modules.c.inc | 16 +--These files are generated and were imported from xtensa configuration overlays, they're not supposed to be changed.
Tools can get the repository file list using 'git ls-files', which itself support file pattern exclusion [*].
Quoted 6 lines
We can create i.e. '
scripts/imported-files.txt' with:linux-headers/
target/hexagon/imported/
target/xtensa/core*
tests/tcg/mips/user/
Good idea. scripts/clean-header-guards.pl also has these to add to the exclude list:
include/standard-headers/
pc-bios/
tests/tcg/
tests/multiboot/
thanks
-- PMM