re PR target/84226 (ICE in simplify_const_unary_operation, at simplify-rtx.c:1974...
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Feb 2018 18:19:08 +0000 (19:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 9 Feb 2018 18:19:08 +0000 (19:19 +0100)
commitd6126f8b8250b857f3e0edfd42f3c33d8534b9a4
treec1adb6691b4e2733b4f5376c51fbcc9191ecf365
parente3056dd850922fe1d13d3a69ceb6ea24f1fbac1d
re PR target/84226 (ICE in simplify_const_unary_operation, at simplify-rtx.c:1974 on ppc64le)

PR target/84226
* config/rs6000/vsx.md (p9_xxbrq_v16qi): Change input operand
constraint from =wa to wa.  Avoid a subreg on the output operand,
instead use a pseudo and subreg it in a move.
(p9_xxbrd_<mode>): Changed to ...
(p9_xxbrd_v2di): ... this insn, without VSX_D iterator.
(p9_xxbrd_v2df): New expander.
(p9_xxbrw_<mode>): Changed to ...
(p9_xxbrw_v4si): ... this insn, without VSX_W iterator.
(p9_xxbrw_v4sf): New expander.

* gcc.target/powerpc/pr84226.c: New test.

From-SVN: r257536
gcc/ChangeLog
gcc/config/rs6000/vsx.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr84226.c [new file with mode: 0644]