aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2025-02-14 20:22:58 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2025-02-16 16:43:18 +0100
commitd6a09ff8d81d22de2d8a701faa3fffe858638b1b (patch)
tree3b0029c04e80c57e0385fc2f32dfe18d4bd12c80 /gcc/fortran/trans-expr.cc
parent7aee6b6a4a2b0f4cc5e2f3342051151e536e019a (diff)
downloadgcc-d6a09ff8d81d22de2d8a701faa3fffe858638b1b.zip
gcc-d6a09ff8d81d22de2d8a701faa3fffe858638b1b.tar.gz
gcc-d6a09ff8d81d22de2d8a701faa3fffe858638b1b.tar.bz2
AVR: Don't asm output operations for unused result bytes.
When REG_UNUSED notes indicate that some result bytes are not used by the following code, then there's no need to asm out them. The patch uses such notes for the asm out of AND, IOR, XOR, PLUS, MINUS. gcc/ * config/avr/avr.cc (avr_result_regno_unused_p): New static function. (avr_out_bitop): Only output result bytes that are used. (avr_out_plus_1): Same.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions