aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>2018-03-13 16:28:09 +0000
committerAaron Sawdey <acsawdey@gcc.gnu.org>2018-03-13 11:28:09 -0500
commitb34f5c5e69bb024f41b4e15869f7ff18c3f8dd6f (patch)
treee36696173518a79b5c87561d0c4cf311239e665f /gcc/config/rs6000
parent1d500c25165a5b708f1fc2088ba63c93a2c1eb94 (diff)
downloadgcc-b34f5c5e69bb024f41b4e15869f7ff18c3f8dd6f.zip
gcc-b34f5c5e69bb024f41b4e15869f7ff18c3f8dd6f.tar.gz
gcc-b34f5c5e69bb024f41b4e15869f7ff18c3f8dd6f.tar.bz2
re PR target/84743 (default widths for parallel reassociation now hurt rather than help)
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. From-SVN: r258495
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c2
1 files changed, 1 insertions, 1 deletions
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;