Commit 34c25d23 by Bill Schmidt Committed by William Schmidt

rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs.

2014-02-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
	to permit subregs.

From-SVN: r208052
parent 086de490
2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert
to permit subregs.
2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace
define_insn with define_expand and new define_insn define_insn with define_expand and new define_insn
*altivec_lve<VI_char>x_internal. *altivec_lve<VI_char>x_internal.
......
...@@ -8040,7 +8040,7 @@ rs6000_emit_le_vsx_move (rtx dest, rtx source, enum machine_mode mode) ...@@ -8040,7 +8040,7 @@ rs6000_emit_le_vsx_move (rtx dest, rtx source, enum machine_mode mode)
if (MEM_P (source)) if (MEM_P (source))
{ {
gcc_assert (REG_P (dest)); gcc_assert (REG_P (dest) || GET_CODE (dest) == SUBREG);
rs6000_emit_le_vsx_load (dest, source, mode); rs6000_emit_le_vsx_load (dest, source, mode);
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment