From f74fc01dcdf9d84975025826d1ab468b9e90674a Mon Sep 17 00:00:00 2001 From: Carl Love Date: Mon, 25 Jun 2018 15:43:34 +0000 Subject: [PATCH] vsx.md: Change word selector to prefered location. gcc/ChangeLog: 2018-06-25 Carl Love * config/rs6000/vsx.md: Change word selector to prefered location. Signed-off-by: Carl Love --- gcc/config/rs6000/vsx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index a528ef2e8..6e7a4277f 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -3934,7 +3934,7 @@ operands[5] = gen_rtx_REG (V4SFmode, tmp_regno); operands[6] = gen_rtx_REG (V4SImode, tmp_regno); - operands[7] = GEN_INT (BYTES_BIG_ENDIAN ? 1 : 2); + operands[7] = GEN_INT (BYTES_BIG_ENDIAN ? 0 : 3); operands[8] = gen_rtx_REG (V4SImode, reg_or_subregno (operands[0])); } [(set_attr "type" "vecperm") -- 2.17.1 From-SVN: r262020 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/vsx.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84b8b64acba..754b5f10063 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-06-25 Carl Love + + * config/rs6000/vsx.md: Change word selector to prefered location. + 2018-06-25 Richard Biener PR tree-optimization/86304 diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index 6fe18c3a947..432aa1e3754 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -3934,7 +3934,7 @@ operands[5] = gen_rtx_REG (V4SFmode, tmp_regno); operands[6] = gen_rtx_REG (V4SImode, tmp_regno); - operands[7] = GEN_INT (BYTES_BIG_ENDIAN ? 1 : 2); + operands[7] = GEN_INT (BYTES_BIG_ENDIAN ? 0 : 3); operands[8] = gen_rtx_REG (V4SImode, reg_or_subregno (operands[0])); } [(set_attr "type" "vecperm") -- 2.30.2