]> gcc.gnu.org Git - gcc.git/commit
AVR: Use avr_byte instead of simplify_gen_subreg (QImode, ...
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 13 Sep 2024 10:50:31 +0000 (12:50 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Fri, 13 Sep 2024 15:48:08 +0000 (17:48 +0200)
commitb55f5e344c9b2f3667ef176e090c168e0add41f1
tree582c4e146352853c296a2730b2d4bfd0a495b7a8
parent4ee692337c4ec18fe9be3df34f3607ea3de5ef93
AVR: Use avr_byte instead of simplify_gen_subreg (QImode, ...

There are many places where asm output functions have to look at
the constituent bytes and words of the operands.  The function of
choice was simplify_gen_subreg (mode, ...) which can be replaced
by the more handy avr_byte (rtx, byte_num).

gcc/
* config/avr/avr.cc: Use functions like avr_byte,
avr_word, avr_[u]int8/16 if convenient.
(avr_uint16): New function.
gcc/config/avr/avr.cc
This page took 0.054021 seconds and 5 git commands to generate.