(one_cmplsi2): Always use nor instruction;
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 17 Apr 1994 01:05:27 +0000 (21:05 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 17 Apr 1994 01:05:27 +0000 (21:05 -0400)
remove extraneous minus sign from condition register set constraint.

From-SVN: r7055

gcc/config/rs6000/rs6000.md

index af7f9fd14433ea641925619f23c7fd6bb85bd327..58d116160d9baef69932c0a816d7cf905d353309 100644 (file)
   operands[4] = gen_rtx (CONST_INT, VOIDmode, low);
 }")
 
-(define_expand "one_cmplsi2"
+(define_insn "one_cmplsi2"
   [(set (match_operand:SI 0 "gpc_reg_operand" "=r")
        (not:SI (match_operand:SI 1 "gpc_reg_operand" "r")))]
   ""
-  "")
-
-(define_insn ""
-  [(set (match_operand:SI 0 "gpc_reg_operand" "=r")
-       (not:SI (match_operand:SI 1 "gpc_reg_operand" "r")))]
-  "TARGET_POWER"
-  "{sfi|subfic} %0,%1,-1")
-
-(define_insn ""
-  [(set (match_operand:SI 0 "gpc_reg_operand" "=r")
-       (not:SI (match_operand:SI 1 "gpc_reg_operand" "r")))]
-  "! TARGET_POWER"
   "nor %0,%1,%1")
 
 (define_insn ""
   [(set_attr "type" "compare")])
 
 (define_insn ""
-  [(set (match_operand:CC 2 "cc_reg_operand" "=-x")
+  [(set (match_operand:CC 2 "cc_reg_operand" "=x")
        (compare:CC (not:SI (match_operand:SI 1 "gpc_reg_operand" "r"))
                    (const_int 0)))
    (set (match_operand:SI 0 "gpc_reg_operand" "=r")