re PR target/20288 (AVR assignment of a value through a 16 bit pointer generates...
authorMarek Michalkiewicz <marekm@amelek.gda.pl>
Sun, 6 Mar 2005 21:50:36 +0000 (22:50 +0100)
committerMarek Michalkiewicz <marekm@gcc.gnu.org>
Sun, 6 Mar 2005 21:50:36 +0000 (21:50 +0000)
commita69901850b00e526125cb0500ea08d207dfbce03
tree10f2b1db6d15ea7f5daa0088199a79ff12f28620
parentb261a494d6e7e1759b5fa00d2c5824d1ca148fe3
re PR target/20288 (AVR assignment of a value through a 16 bit pointer generates out of order code)

PR target/20288
* config/avr/avr.c (print_operand): Add 'p' and 'r'.
(out_movhi_r_mr): Read low byte of volatile MEM first.
(out_movhi_mr_r): Write high byte of volatile MEM first.

From-SVN: r95993
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.md