re PR target/87064 (libgomp.oacc-fortran/reduction-3.f90 fails starting with r263751)
authorBill Schmidt <wschmidt@linux.ibm.com>
Wed, 30 Jan 2019 20:52:08 +0000 (20:52 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 30 Jan 2019 20:52:08 +0000 (20:52 +0000)
2019-01-30  Bill Schmidt  <wschmidt@linux.ibm.com>

PR target/87064
* config/rs6000/vsx.md (*vsx_reduc_<VEC_reduc_name>_v4sf_scalar):
Disable for little-endian.

From-SVN: r268403

gcc/ChangeLog
gcc/config/rs6000/vsx.md

index fea61ea92ddfcfd740577d80e5ff30610a2052e7..f7f145fe13b12f673608d5acd109fc33c6367889 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-30  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       PR target/87064
+       * config/rs6000/vsx.md (*vsx_reduc_<VEC_reduc_name>_v4sf_scalar):
+       Disable for little-endian.
+
 2019-01-30  Richard Biener  <rguenther@suse.de>
 
        PR rtl-optimization/89115
index 98bd433fa3bd8022be5f915918458205c340f63e..f81d5fb1009a3b7801e17b6a8c6f757232eacc96 100644 (file)
    (clobber (match_scratch:V4SF 2 "=&wf,&wa"))
    (clobber (match_scratch:V4SF 3 "=&wf,&wa"))
    (clobber (match_scratch:V4SF 4 "=0,0"))]
-  "VECTOR_UNIT_VSX_P (V4SFmode)"
+  "BYTES_BIG_ENDIAN && VECTOR_UNIT_VSX_P (V4SFmode)"
   "#"
   ""
   [(const_int 0)]