From a2b403c8bb69250b321c9d56e38f5f3537a1e696 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 30 Nov 2016 00:05:46 +0000 Subject: [PATCH] re PR target/78594 (Bug in November 11th, 2016 change to rs6000.md) 2016-11-29 Michael Meissner PR target/78594 * config/rs6000/rs6000.md (mov_internal, QHI iterator): Add 'x' to stxsix print pattern, so that QImode and HImode values residing in traditional altivec registers can be stored correctly. From-SVN: r242983 --- gcc/ChangeLog | 8 ++++++++ gcc/config/rs6000/rs6000.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb3b4136dad..a5802fa2fc7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2016-11-29 Michael Meissner + + PR target/78594 + * config/rs6000/rs6000.md (mov_internal, QHI iterator): Add + 'x' to stxsix print pattern, so that QImode and HImode values + residing in traditional altivec registers can be stored + correctly. + 2016-11-29 Max Filippov PR target/78603 diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index cb982d383ca..f1ba8d4089b 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -6826,7 +6826,7 @@ lz%U1%X1 %0,%1 lxsizx %x0,%y1 st%U0%X0 %1,%0 - stxsix %1,%y0 + stxsix %x1,%y0 li %0,%1 xxlor %x0,%x1,%x1 xxspltib %x0,0 -- 2.30.2