PR target/23539
Backport from mainline:
2005-08-27 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (expand_block_move): Use HImode when
bytes >= 2 not bytes == 2.
From-SVN: r103675
+2005-08-31 David Edelsohn <edelsohn@gnu.org>
+
+ PR target/23539
+ Backport from mainline:
+
+ 2005-08-27 David Edelsohn <edelsohn@gnu.org>
+ * config/rs6000/rs6000.c (expand_block_move): Use HImode when
+ bytes >= 2 not bytes == 2.
+
2005-08-21 Jakub Jelinek <jakub@redhat.com>
* simplify-rtx.c (simplify_immed_subreg) <case CONST_DOUBLE>: Only clear
mode = SImode;
gen_func.mov = gen_movsi;
}
- else if (bytes == 2 && (align >= 2 || ! STRICT_ALIGNMENT))
+ else if (bytes >= 2 && (align >= 2 || ! STRICT_ALIGNMENT))
{ /* move 2 bytes */
move_bytes = 2;
mode = HImode;