re PR target/84743 (default widths for parallel reassociation now hurt rather than...
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>
Tue, 13 Mar 2018 16:28:09 +0000 (16:28 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Tue, 13 Mar 2018 16:28:09 +0000 (11:28 -0500)
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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 4a6f4d47b60d35cf62fc627f54836f6d528acd6d..6453b26584b22b5099b9479526eafefbf8366cfa 100644 (file)
@@ -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):
index 1db88d0a1d2d2be5fb348e68782626aa2f96b65b..7e3e5a637f5ec35520e87d3b9588ebb736d28f8e 100644 (file)
@@ -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;