aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorxuli <xuli1@eswincomputing.com>2024-10-21 04:01:01 +0000
committerxuli <xuli1@eswincomputing.com>2024-10-22 01:12:20 +0000
commit93b6f287814bca3d10bcf53bb64db40d77eff5d7 (patch)
tree056a2d56c31a76742988d8b24831c3225e3bfa43 /gcc/fortran
parent1dccec47ab679926521fd4c9963b63b319b56eb9 (diff)
downloadgcc-93b6f287814bca3d10bcf53bb64db40d77eff5d7.zip
gcc-93b6f287814bca3d10bcf53bb64db40d77eff5d7.tar.gz
gcc-93b6f287814bca3d10bcf53bb64db40d77eff5d7.tar.bz2
RISC-V: Add testcases for unsigned .SAT_SUB form 1 with IMM = max -1.
form 1: T __attribute__((noinline)) \ sat_u_sub_imm##IMM##_##T##_fmt_1 (T y) \ { \ return (T)IMM >= y ? (T)IMM - y : 0; \ } Passed the rv64gcv regression test. Change-Id: Idaa1ab41f2a5785112279ea8ee2c93236457b740 Signed-off-by: Li Xu <xuli1@eswincomputing.com> gcc/testsuite/ChangeLog: * gcc.target/riscv/sat_u_sub_imm-1_3.c: New test. * gcc.target/riscv/sat_u_sub_imm-2_3.c: New test. * gcc.target/riscv/sat_u_sub_imm-3_3.c: New test. * gcc.target/riscv/sat_u_sub_imm-4_1.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions