pa.md (FP sCC insn): Delete.
authorJeff Law <law@gcc.gnu.org>
Thu, 11 Mar 1993 14:13:07 +0000 (07:13 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 11 Mar 1993 14:13:07 +0000 (07:13 -0700)
* pa.md (FP sCC insn): Delete.
(sCC define_expands): FAIL instead of generating FP sCC insns.

From-SVN: r3706

gcc/config/pa/pa.md

index b681c5d5a460b7a752b8757f3117016392399056..56a84b6d44ff16a9d1359e3fe05b97a41f9f4922 100644 (file)
 
 ;; scc insns.
 
-(define_insn ""
-  [(set (match_operand:SI 0 "register_operand" "=r")
-       (match_operator:CCFP 1 "comparison_operator" [(reg:CCFP 0)
-                                                     (const_int 0)]))]
-  ""
-  "copy 0,%0\;ftest\;ldi 1,%0"
-  [(set_attr "type" "unary")
-   (set_attr "length" "3")])
-
 (define_expand "seq"
   [(set (match_operand:SI 0 "register_operand" "")
        (eq:SI (match_dup 1)
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (EQ, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (EQ, operands[0]));
-      DONE;
-    }
+    FAIL;
   /* set up operands from compare.  */
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (NE, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (NE, operands[0]));
-      DONE;
-    }
+    FAIL;
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
 }")
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (LT, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (LT, operands[0]));
-      DONE;
-    }
+    FAIL;
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
 }")
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (GT, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (GT, operands[0]));
-      DONE;
-    }
+    FAIL;
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
 }")
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (LE, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (LE, operands[0]));
-      DONE;
-    }
+    FAIL;
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
 }")
   ""
   "
 {
+  /* fp scc patterns rarely match, and are not a win on the PA.  */
   if (hppa_branch_type != CMP_SI)
-    {
-      emit_insn (gen_cmp_fp (GE, hppa_compare_op0, hppa_compare_op1));
-      emit_insn (gen_scond_fp (GE, operands[0]));
-      DONE;
-    }
+    FAIL;
   operands[1] = hppa_compare_op0;
   operands[2] = hppa_compare_op1;
 }")