diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2024-11-06 09:46:40 +0100 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2024-11-16 19:49:34 +0100 |
commit | bbfba1cc925d7b90d9f501d237fbe10631dbd6d1 (patch) | |
tree | 6285eb5971d57565a17e6ef7dfd5d5d8df7938da /libphobos/README.gcc | |
parent | e30bc91e96f710cb1a15a32c4c53ddfb40f0f282 (diff) | |
download | gcc-bbfba1cc925d7b90d9f501d237fbe10631dbd6d1.zip gcc-bbfba1cc925d7b90d9f501d237fbe10631dbd6d1.tar.gz gcc-bbfba1cc925d7b90d9f501d237fbe10631dbd6d1.tar.bz2 |
AVR: Add an RTL peephole to tweak lower_reg:QI o= cst.
For operations like X o= CST, regalloc may spill l-reg X to a d-reg:
D = X
D o= CST
X = D
where it is better to instead
D = CST
X o= D
This patch adds an according RTL peephole.
gcc/
* config/avr/avr.md: Add a peephole2 that improves bit operations
with a lower register and a constant.
Diffstat (limited to 'libphobos/README.gcc')
0 files changed, 0 insertions, 0 deletions