]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
vsx.md (fusion peepholes): Disable when !TARGET_VSX.
authorAlan Modra <amodra@gmail.com>
Sat, 23 Nov 2013 05:35:18 +0000 (16:05 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 23 Nov 2013 05:35:18 +0000 (16:05 +1030)
* config/rs6000/vsx.md (fusion peepholes): Disable when !TARGET_VSX.

From-SVN: r205299

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

index f298c0bef5e09781f5076b0161d904122ec197ed..e2e972a3c664829567775527c7fb982dc573b57e 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-23  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/vsx.md (fusion peepholes): Disable when !TARGET_VSX.
+
 2013-11-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/59061
index 977ef963411bf7038a2f144cf4bf6c287b8c5541..9eba6752e80b7906c7b3e35e3f0615fd546d11bb 100644 (file)
    (set (match_operand:VSX_M2 2 "vsx_register_operand" "")
        (mem:VSX_M2 (plus:P (match_dup 0)
                            (match_operand:P 3 "int_reg_operand" ""))))]
-  "TARGET_P8_FUSION"
+  "TARGET_VSX && TARGET_P8_FUSION"
   "li %0,%1\t\t\t# vector load fusion\;lx<VSX_M2:VSm>x %x2,%0,%3"  
   [(set_attr "length" "8")
    (set_attr "type" "vecload")])
    (set (match_operand:VSX_M2 2 "vsx_register_operand" "")
        (mem:VSX_M2 (plus:P (match_operand:P 3 "int_reg_operand" "")
                            (match_dup 0))))]
-  "TARGET_P8_FUSION"
+  "TARGET_VSX && TARGET_P8_FUSION"
   "li %0,%1\t\t\t# vector load fusion\;lx<VSX_M2:VSm>x %x2,%0,%3"  
   [(set_attr "length" "8")
    (set_attr "type" "vecload")])