aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-10-11 15:50:11 +0200
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-11-18 21:15:24 +0100
commitacbb5ef06ee97849ecd5412ab56c1dff0f0d2fcf (patch)
tree58f171c628c42a4bea78af23ae988faabe0bf90b /gcc/tree.cc
parent23d9f62c50d935462ecda5516746037a474c25cd (diff)
downloadgcc-acbb5ef06ee97849ecd5412ab56c1dff0f0d2fcf.zip
gcc-acbb5ef06ee97849ecd5412ab56c1dff0f0d2fcf.tar.gz
gcc-acbb5ef06ee97849ecd5412ab56c1dff0f0d2fcf.tar.bz2
RISC-V: Optimize branches testing a bit-range or a shifted immediate
gcc/ChangeLog: * config/riscv/predicates.md (shifted_const_arith_operand): New predicate. (uimm_extra_bit_operand): New predicate. * config/riscv/riscv.md (*branch<ANYI:mode>_shiftedarith_equals_zero): New pattern. (*branch<ANYI:mode>_shiftedmask_equals_zero): New pattern. gcc/testsuite/ChangeLog: * gcc.target/riscv/branch-1.c: New test.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions