aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr84873.c
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2025-05-08 11:25:04 +0800
committerPan Li <pan2.li@intel.com>2025-05-09 08:21:21 +0800
commit8dba9c7ec97ef6e5e891c77a0f0d536860172beb (patch)
treec8c1c319c6c2fd435b0f6e1f64cdc0e575f2ef6e /gcc/testsuite/c-c++-common/pr84873.c
parent6a718d401d37880a5ed74210b1a75783e8ea9c38 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
RISC-V: Add testcases for vec_duplicate + vadd.vv combine case 1 with GR2VR cost 2HEADtrunkmaster
Add asm dump check and for vec_duplicate + vadd.vv combine case 1 to vadd.vx with the cost of GR2VR is 2. The testcases is not that tidy according to the result, but we will continue tuning the cost model for this. The below test suites are passed for this patch. * The rv64gcv fully regression test. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-i16.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-i32.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-i64.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-i8.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-u16.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-u32.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-u64.c: New test. * gcc.target/riscv/rvv/autovec/vx_vf/vx_vadd-6-u8.c: New test. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/testsuite/c-c++-common/pr84873.c')
0 files changed, 0 insertions, 0 deletions