aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dump.h
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2024-06-13 22:35:21 +0800
committerPan Li <pan2.li@intel.com>2024-06-14 22:07:04 +0800
commitd0f6a1ea5363662e01c5b735fe4b19cac4c1caf2 (patch)
treee94341b8f3e6b0e87518c60e5ad3aa6fb0f4d106 /gcc/tree-dump.h
parent308f87030ea0a4580c16906b948eb8996cf4f8de (diff)
downloadgcc-d0f6a1ea5363662e01c5b735fe4b19cac4c1caf2.zip
gcc-d0f6a1ea5363662e01c5b735fe4b19cac4c1caf2.tar.gz
gcc-d0f6a1ea5363662e01c5b735fe4b19cac4c1caf2.tar.bz2
RISC-V: Add testcases for scalar unsigned SAT_SUB form 4
After the middle-end support the form 4 of unsigned SAT_SUB and the RISC-V backend implement the scalar .SAT_SUB, add more test case to cover the form 4 of unsigned .SAT_SUB. Form 4: #define SAT_SUB_U_4(T) \ T sat_sub_u_4_##T (T x, T y) \ { \ return x >= y ? x - y : 0; \ } Passed the rv64gcv fully regression test. gcc/testsuite/ChangeLog: * gcc.target/riscv/sat_arith.h: Add helper macro for test. * gcc.target/riscv/sat_u_sub-13.c: New test. * gcc.target/riscv/sat_u_sub-14.c: New test. * gcc.target/riscv/sat_u_sub-15.c: New test. * gcc.target/riscv/sat_u_sub-16.c: New test. * gcc.target/riscv/sat_u_sub-run-13.c: New test. * gcc.target/riscv/sat_u_sub-run-14.c: New test. * gcc.target/riscv/sat_u_sub-run-15.c: New test. * gcc.target/riscv/sat_u_sub-run-16.c: New test. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/tree-dump.h')
0 files changed, 0 insertions, 0 deletions