]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: avr-md - Simplify GET_MODE and GET_MODE_BITSIZE.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 15 Jul 2024 07:12:03 +0000 (09:12 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 15 Jul 2024 08:09:12 +0000 (10:09 +0200)
commit8f87b3c5ecd47f6ac0d7407ae5d436a12fb169dd
treefd7554c5f1ecabfbc3ed459a129deb020a918ad0
parent9964edfb4abdec25f8be48e667afcae30ce03a37
AVR: avr-md - Simplify GET_MODE and GET_MODE_BITSIZE.

gcc/
* config/avr/avr.md: Simplify mode usage.
(GET_MODE_SIZE (<MODE>mode)): Use <SIZE> instead.
(GET_MODE_BITSIZE (<MODE>mode) - 1): Use <MSB> instead.
(GET_MODE_MASK (QImode)): Use 0xff instead.
* config/avr/avr-fixed.md: Same.
gcc/config/avr/avr-fixed.md
gcc/config/avr/avr.md