diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2025-09-04 22:03:31 +0200 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2025-09-05 14:38:31 +0200 |
commit | e3d14112b266479da9f8fd9c304e0ae15bf0ad25 (patch) | |
tree | 09a38d9c0290e01a41d18af5da66ca3701876f71 /libjava | |
parent | 2965a67c7ef34de74904b600a3e4a4cc858ea37b (diff) | |
download | gcc-e3d14112b266479da9f8fd9c304e0ae15bf0ad25.zip gcc-e3d14112b266479da9f8fd9c304e0ae15bf0ad25.tar.gz gcc-e3d14112b266479da9f8fd9c304e0ae15bf0ad25.tar.bz2 |
AVR: target/121794 - Invoke zero_reg less.
There are some cases where involing zero_reg is not needed and
where there are other sequences with the same efficiency.
An example is to use SBCI R,0 instead of SBC R,__zero_reg__
when R >= R16. This may turn out to be better for small ISRs.
PR target/121794
gcc/
* config/avr/avr.cc (avr_out_compare): Only use zero_reg
when there is no other sequence of the same length.
(avr_out_plus_ext): Same.
(avr_out_plus_1): Same.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions