]> gcc.gnu.org Git - gcc.git/commit
RISC-V/testsuite: Add branched cases for equality cond-move operations
authorMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:26 +0000 (01:18 +0000)
committerMaciej W. Rozycki <macro@embecosm.com>
Wed, 22 Nov 2023 01:18:26 +0000 (01:18 +0000)
commit5e884a894206735cf1909edfe8a1410ac411c392
treeec76312aad5c58b4941c3e3218843ca5b1d13688
parentcfec7fc11017f964b9b5ece5692e30c2d3f0e7a1
RISC-V/testsuite: Add branched cases for equality cond-move operations

Verify, for Ventana and Zicond targets and the equality conditional-move
operations, 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/movdibeq-ventana.c: New test.
* gcc.target/riscv/movdibeq-zicond.c: New test.
* gcc.target/riscv/movdibne-ventana.c: New test.
* gcc.target/riscv/movdibne-zicond.c: New test.
* gcc.target/riscv/movsibeq-ventana.c: New test.
* gcc.target/riscv/movsibeq-zicond.c: New test.
* gcc.target/riscv/movsibne-ventana.c: New test.
* gcc.target/riscv/movsibne-zicond.c: New test.
gcc/testsuite/gcc.target/riscv/movdibeq-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movdibeq-zicond.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movdibne-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movdibne-zicond.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibeq-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibeq-zicond.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibne-ventana.c [new file with mode: 0644]
gcc/testsuite/gcc.target/riscv/movsibne-zicond.c [new file with mode: 0644]
This page took 0.052407 seconds and 5 git commands to generate.