aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl-error.h
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-10-13 10:55:41 +0200
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-11-17 16:27:17 +0100
commit0045d254c010bf5eac55903780c67f725192cfb3 (patch)
tree67addffd02a3858cd110e2527eafebe9484320b3 /gcc/rtl-error.h
parent1957bedf29a1b2cc231972aba680fe80199d5498 (diff)
downloadgcc-0045d254c010bf5eac55903780c67f725192cfb3.zip
gcc-0045d254c010bf5eac55903780c67f725192cfb3.tar.gz
gcc-0045d254c010bf5eac55903780c67f725192cfb3.tar.bz2
RISC-V: Optimize masking with two clear bits not a SMALL_OPERAND
Add a split for cases where we can use two bclri (or one bclri and an andi) to clear two bits. gcc/ChangeLog: * config/riscv/bitmanip.md (*bclri<mode>_nottwobits): New pattern. (*bclridisi_nottwobits): New pattern, handling the sign-bit. * config/riscv/predicates.md (const_nottwobits_operand): New predicate. gcc/testsuite/ChangeLog: * gcc.target/riscv/zbs-bclri.c: New test.
Diffstat (limited to 'gcc/rtl-error.h')
0 files changed, 0 insertions, 0 deletions