aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/dom/DomNodeIterator.h
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2025-05-06 19:20:14 -0600
committerJeff Law <jlaw@ventanamicro.com>2025-05-06 19:21:55 -0600
commit2c46a74d4707bd1e67561ed8514c67efc6164832 (patch)
tree9bf5473cf21ae673f4eba60a25895e0e43bd4bb5 /libjava/gnu/xml/dom/DomNodeIterator.h
parentd4da4474dd3b76d82bf1c9dc79548b708322cb46 (diff)
downloadgcc-2c46a74d4707bd1e67561ed8514c67efc6164832.zip
gcc-2c46a74d4707bd1e67561ed8514c67efc6164832.tar.gz
gcc-2c46a74d4707bd1e67561ed8514c67efc6164832.tar.bz2
[RISC-V] Avoid unnecessary andi with -1 argument
I was preparing to do some testing of Shreya's next patch on spec and stumbled across another "andi dst,src,-1" case. I fixed some stuff like this in the gcc-15 cycle, but this one slipped through. It's probably about 100M instructions on deepsjeng. So tiny, but there's no good reason to leave the clearly extraneous instructions in the output. As with the other cases, it's a post-reload splitter that's not being careful enough about the code it generates. This has gone through my tester successfully. Waiting on the pre-commit tester before going forward. gcc/ * config/riscv/riscv.md (*branch<ANYI:mode>_shiftedarith_equals_zero): Avoid generating unnecessary andi. Fix formatting. gcc/testsuite * g++.target/riscv/redundant-andi.C: New test.
Diffstat (limited to 'libjava/gnu/xml/dom/DomNodeIterator.h')
0 files changed, 0 insertions, 0 deletions