From: Bill Schmidt Date: Sun, 23 Feb 2014 16:28:32 +0000 (+0000) Subject: rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs. X-Git-Tag: upstream/12.2.0~64561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34c25d2393a6297d22848eba16773331ed893ebe;p=platform%2Fupstream%2Fgcc.git rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs. 2014-02-23 Bill Schmidt * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs. From-SVN: r208052 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af67073..7830f3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-02-23 Bill Schmidt + * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert + to permit subregs. + +2014-02-23 Bill Schmidt + * config/rs6000/altivec.md (altivec_lvex): Replace define_insn with define_expand and new define_insn *altivec_lvex_internal. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 2dff39e..55e209a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -8040,7 +8040,7 @@ rs6000_emit_le_vsx_move (rtx dest, rtx source, enum machine_mode mode) 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); } else