OSDN Git Service

(*movsi_ccx_sp64): Fix name.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 1995 20:45:43 +0000 (20:45 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Feb 1995 20:45:43 +0000 (20:45 +0000)
(movsicc, movdicc): Operand 3 must be a register to match define_insns.
Delete miscellaneous cmove comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8898 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.md

index 2f82d63..78b22c8 100644 (file)
   [(set (match_operand:SI 0 "register_operand" "")
        (if_then_else (match_operand 1 "comparison_operator" "")
                      (match_operand:SI 2 "arith10_operand" "")
-                     (match_operand:SI 3 "arith10_operand" "")))]
+                     (match_operand:SI 3 "register_operand" "")))]
   "TARGET_V9"
   "
 {
   [(set (match_operand:DI 0 "register_operand" "")
        (if_then_else (match_operand 1 "comparison_operator" "")
                      (match_operand:DI 2 "arith10_operand" "")
-                     (match_operand:DI 3 "arith10_operand" "")))]
+                     (match_operand:DI 3 "register_operand" "")))]
   "TARGET_V9"
   "
 {
     }
 }")
 
-; ??? There is not actually a 32 bit version of this instruction.
+/* Conditional move define_insns.  */
+
 (define_insn "*movsi_cc_sp64"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (if_then_else (match_operator 1 "comparison_operator"
   "mov%C1 %%icc,%2,%0"
   [(set_attr "type" "cmove")])
 
-;; ??? There is not actually a 32 bit version of this instruction.
-(define_insn "*movdi_ccx_sp64"
+(define_insn "*movsi_ccx_sp64"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (if_then_else (match_operator 1 "comparison_operator"
                                      [(reg:CCX 0) (const_int 0)])
   "mov%C1 %%xcc,%2,%0"
   [(set_attr "type" "cmove")])
 
-;; ??? There is not actually a 32 bit version of this instruction.
 (define_insn "*movsi_ccfp_sp64"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (if_then_else (match_operator 1 "comparison_operator"
   "mov%C1 %2,%3,%0"
   [(set_attr "type" "cmove")])
 
-;; ??? There is not actually a 32 bit version of this instruction.
 (define_insn "*movsi_ccfpe_sp64"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (if_then_else (match_operator 1 "comparison_operator"
   "mov%C1 %2,%3,%0"
   [(set_attr "type" "cmove")])
 
-;; ??? There is not actually a 32 bit version of this instruction.
 (define_insn "*movsi_cc_reg_sp64"
   [(set (match_operand:SI 0 "register_operand" "=r")
        (if_then_else (match_operator 1 "v9_regcmp_op"