diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-04-23 06:21:13 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-05-06 02:02:14 +0200 |
commit | 35b7618e3ae25b3a293c456e24edc5432a936e22 (patch) | |
tree | a1cd31855f7f8fba7e4a22dcab41c31fa219727f /gcc/range-op-float.cc | |
parent | fe50e419086f5b781b6fe8242741e6213b788337 (diff) | |
download | gcc-35b7618e3ae25b3a293c456e24edc5432a936e22.zip gcc-35b7618e3ae25b3a293c456e24edc5432a936e22.tar.gz gcc-35b7618e3ae25b3a293c456e24edc5432a936e22.tar.bz2 |
CRIS: peephole2 an add into two addq or subq
Unfortunately, doesn't cause a performance improvement for coremark,
but happens a few times in newlib, just enough to affect coremark
0.01% by size (or 4 bytes, and three cycles (__fwalk_sglue and
__vfiprintf_r each two bytes).
gcc:
* config/cris/cris.md (splitop): Add PLUS.
* config/cris/cris.cc (cris_split_constant): Also handle
PLUS when a split into two insns may be useful.
gcc/testsuite:
* gcc.target/cris/peep2-addsplit1.c: New test.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions