On 11/18/23 22:40, Maciej W. Rozycki wrote:
Verify, for T-Head targets and the non-equality integer conditional-move operations, that if-conversion triggers via `noce_try_cmove' at `-mbranch-cost=2' setting, which makes branchless code sequences produced 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/movdige-thead.c: New test. * gcc.target/riscv/movdigeu-thead.c: New test. * gcc.target/riscv/movdigt-thead.c: New test. * gcc.target/riscv/movdigtu-thead.c: New test. * gcc.target/riscv/movdile-thead.c: New test. * gcc.target/riscv/movdileu-thead.c: New test. * gcc.target/riscv/movdilt-thead.c: New test. * gcc.target/riscv/movdiltu-thead.c: New test. * gcc.target/riscv/movsige-thead.c: New test. * gcc.target/riscv/movsigeu-thead.c: New test. * gcc.target/riscv/movsigt-thead.c: New test. * gcc.target/riscv/movsigtu-thead.c: New test. * gcc.target/riscv/movsile-thead.c: New test. * gcc.target/riscv/movsileu-thead.c: New test. * gcc.target/riscv/movsilt-thead.c: New test. * gcc.target/riscv/movsiltu-thead.c: New test.
OK jeff