]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: target/85624 - Fix non-matching alignment in clrmem* insns.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 12 Aug 2024 12:39:24 +0000 (14:39 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Mon, 12 Aug 2024 12:52:19 +0000 (14:52 +0200)
commit68da681e614c2750f648dac2cd0b2595999ca5d9
treeec9294de558b62b1006823e249c43a6a3daae1d9
parent24df2ab33c5e805054006e7b4b94d4270d82074f
AVR: target/85624 - Fix non-matching alignment in clrmem* insns.

The clrmem* patterns don't use the provided alignment information,
hence the setmemhi expander can just pass down 0 as alignment to
the clrmem* insns.

PR target/85624
gcc/
* config/avr/avr.md (setmemhi): Set alignment to 0.

gcc/testsuite/
* gcc.target/avr/torture/pr85624.c: New test.
gcc/config/avr/avr.md
gcc/testsuite/gcc.target/avr/torture/pr85624.c [new file with mode: 0644]