(cmov): Fix operand numbers in case involving DF target, DF
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 3 Jan 1997 14:00:55 +0000 (09:00 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 3 Jan 1997 14:00:55 +0000 (09:00 -0500)
comparison, SF source.

From-SVN: r13359

gcc/config/alpha/alpha.md

index a4dfb332b1822e97ce9b19ef7e1d0cd29e39f75a..085c7d7fb55b1afef924e4b31d6345a5d535de62 100644 (file)
@@ -1,5 +1,5 @@
 ;; Machine description for DEC Alpha for GNU C compiler
-;; Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
 ;; Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
 
 ;; This file is part of GNU CC.
   [(set (match_operand:DF 0 "register_operand" "=f,f")
        (if_then_else:DF 
         (match_operator 3 "signed_comparison_operator"
-                        [(match_operand:DF 1 "reg_or_fp0_operand" "fG,fG")
+                        [(match_operand:DF 4 "reg_or_fp0_operand" "fG,fG")
                          (match_operand:DF 2 "fp0_operand" "G,G")])
-        (float_extend:DF (match_operand:SF 4 "reg_or_fp0_operand" "fG,0"))
+        (float_extend:DF (match_operand:SF 1 "reg_or_fp0_operand" "fG,0"))
         (match_operand:DF 5 "reg_or_fp0_operand" "0,fG")))]
   "TARGET_FP && alpha_tp != ALPHA_TP_INSN"
   "@