aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-11-22 01:18:30 +0000
committerMaciej W. Rozycki <macro@embecosm.com>2023-11-22 01:18:30 +0000
commit9d02897e885e547ac7af11883717b1539154db61 (patch)
tree5970d1a50bea92444be4bd334fc5d5e32c026413 /libgcc
parentfe276a42a73767931cae38665851e01ae3c14927 (diff)
downloadgcc-9d02897e885e547ac7af11883717b1539154db61.zip
gcc-9d02897e885e547ac7af11883717b1539154db61.tar.gz
gcc-9d02897e885e547ac7af11883717b1539154db61.tar.bz2
RISC-V/testsuite: Add branchless cases for generic FP cond moves
Verify, for generic floating-point conditional-move operations that have a corresponding conditional-set machine instruction, that if-conversion triggers (via `cond_move_convert_if_block', which doesn't report) at `-mbranch-cost=5' setting, which makes branchless code sequences emitted by if-conversion cheaper than their original branched equivalents, and that extraneous instructions such as SNEZ, etc. are not present in output. gcc/testsuite/ * gcc.target/riscv/movdifge.c: New test. * gcc.target/riscv/movdifgt.c: New test. * gcc.target/riscv/movdifle.c: New test. * gcc.target/riscv/movdiflt.c: New test. * gcc.target/riscv/movdifne.c: New test. * gcc.target/riscv/movsifge.c: New test. * gcc.target/riscv/movsifgt.c: New test. * gcc.target/riscv/movsifle.c: New test. * gcc.target/riscv/movsiflt.c: New test. * gcc.target/riscv/movsifne.c: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions