[gcc(refs/users/meissner/heads/work020)] Fix typo.

Michael Meissner meissner@gcc.gnu.org
Fri Oct 16 21:08:52 GMT 2020


https://gcc.gnu.org/g:264003e3cd25b1aed4434540ee61690c53b1c414

commit 264003e3cd25b1aed4434540ee61690c53b1c414
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Oct 16 17:08:32 2020 -0400

    Fix typo.
    
    gcc/
    2020-10-16  Michael Meissner  <meissner@linux.ibm.com>
    
            * config/rs6000/rs6000.md (subti3_quad): Fix typo.

Diff:
---
 gcc/config/rs6000/rs6000.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 9375857a38f..b6b77dc2085 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -6728,7 +6728,7 @@
 	(minus:TI (match_operand:TI 1 "gpc_reg_operand" "v")
 		  (match_operand:TI 2 "gpc_reg_operand" "v")))]
   "TARGET_QUAD_ARITHMETIC"
-  "vsubuqm %0,%2,%1"
+  "vsubuqm %0,%1,%2"
   [(set_attr "type" "vecsimple")])
 
 ;; There is no quad negate, so implement a subtraction from zero.
@@ -11448,7 +11448,7 @@
          [(match_operand:TI 1 "gpc_reg_operand")
           (match_operand:TI 2 "gpc_reg_operand")]))
    (use (match_operand 3))]
-  "TARGET_QUAD_ARITHMETIC"
+  "TARGET_QUAD_ARITHMETIC && TARGET_POWER10"
 {
   rs6000_emit_cbranch (TImode, operands);
   DONE;
@@ -11933,7 +11933,7 @@
   [(set (match_operand:CC 0 "cc_reg_operand" "=y")
 	(compare:CC (match_operand:TI 1 "gpc_reg_operand" "v")
 		    (match_operand:TI 2 "gpc_reg_operand" "v")))]
-  "TARGET_QUAD_ARITHMETIC"
+  "TARGET_QUAD_ARITHMETIC && TARGET_POWER10"
   "vcmpsq %0,%1,%2"
   [(set_attr "type" "veccmp")])
 
@@ -11949,7 +11949,7 @@
   [(set (match_operand:CCUNS 0 "cc_reg_operand" "=y")
 	(compare:CCUNS (match_operand:TI 1 "gpc_reg_operand" "v")
 		       (match_operand:TI 2 "gpc_reg_operand" "v")))]
-  "TARGET_QUAD_ARITHMETIC"
+  "TARGET_QUAD_ARITHMETIC && TARGET_POWER10"
   "vcmpuq %0,%1,%2"
   [(set_attr "type" "veccmp")])


More information about the Gcc-cvs mailing list