]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V/testsuite: Add branched cases for FP NE cond-move operations
authorMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:31 +0000 (01:18 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:31 +0000 (01:18 +0000)
commit4c69b5fbb98343ccd9a9f18069847b195b4b7cc7
treec8fac64fe8fe965fbe1bab9f9781fad4bccd221b
parent9a1a2e9857b144872798973fc83ef6e8648cfb08
RISC-V/testsuite: Add branched cases for FP NE cond-move operations

Verify, for generic, Ventana and Zicond targets and the floating-point
NE conditional-move operation, that if-conversion does *not* trigger at
the respective sufficiently low `-mbranch-cost=' settings that make
original branched code sequences cheaper than their branchless
equivalents if-conversion would emit.

gcc/testsuite/
* gcc.target/riscv/movdibfeq-ventana.c: New test.
* gcc.target/riscv/movdibfeq-zicond.c: New test.
* gcc.target/riscv/movdibfeq.c: New test.
* gcc.target/riscv/movsibfeq-ventana.c: New test.
* gcc.target/riscv/movsibfeq-zicond.c: New test.
* gcc.target/riscv/movsibfeq.c: New test.
gcc/testsuite/gcc.target/riscv/movdibfeq-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movdibfeq-zicond.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movdibfeq.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibfeq-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibfeq-zicond.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibfeq.c [new file with mode: 0644]