aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a6f4d4..6453b26 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2018-03-13 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
+
+ PR target/84743
+ * config/rs6000/rs6000.c (rs6000_reassociation_width): Disable parallel
+ reassociation for int modes.
+
2018-03-13 Richard Sandiford <richard.sandiford@linaro.org>
* tree-vect-loop-manip.c (vect_maybe_permute_loop_masks):
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 1db88d0..7e3e5a6 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -10004,7 +10004,7 @@ rs6000_reassociation_width (unsigned int opc ATTRIBUTE_UNUSED,
if (VECTOR_MODE_P (mode))
return 4;
if (INTEGRAL_MODE_P (mode))
- return opc == MULT_EXPR ? 4 : 6;
+ return 1;
if (FLOAT_MODE_P (mode))
return 4;
break;