From: Richard Kenner Date: Tue, 1 Feb 1994 11:06:13 +0000 (-0500) Subject: (minsf3, maxdf3, mindf3): Properly insert constant of zero into X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6db77abd9e7ba6b593adf73c0d7640c774d33cb7;p=gcc.git (minsf3, maxdf3, mindf3): Properly insert constant of zero into patterns. From-SVN: r6455 --- diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 94db72fbb92..ec82ae5fa52 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -1,5 +1,5 @@ ;;- Machine description for DEC Alpha for GNU C compiler -;; Copyright (C) 1992, 1993 Free Software Foundation, Inc. +;; Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. ;; Contributed by Richard Kenner (kenner@nyu.edu) ;; This file is part of GNU CC. @@ -1675,11 +1675,12 @@ (le:DF (match_operand:DF 1 "reg_or_fp0_operand" "") (match_operand:DF 2 "reg_or_fp0_operand" ""))) (set (match_operand:DF 0 "register_operand" "") - (if_then_else:DF (eq (match_dup 3) (const_int 0)) + (if_then_else:DF (eq (match_dup 3) (match_dup 4)) (match_dup 1) (match_dup 2)))] "TARGET_FP" " { operands[3] = gen_reg_rtx (DFmode); + operands[4] = CONST0_RTX (DFmode); }") (define_expand "mindf3" @@ -1687,11 +1688,12 @@ (lt:DF (match_operand:DF 1 "reg_or_fp0_operand" "") (match_operand:DF 2 "reg_or_fp0_operand" ""))) (set (match_operand:DF 0 "register_operand" "") - (if_then_else:DF (ne (match_dup 3) (const_int 0)) + (if_then_else:DF (ne (match_dup 3) (match_dup 4)) (match_dup 1) (match_dup 2)))] "TARGET_FP" " { operands[3] = gen_reg_rtx (DFmode); + operands[4] = CONST0_RTX (DFmode); }") (define_expand "maxsf3" @@ -1712,7 +1714,7 @@ (lt:DF (float_extend:DF (match_operand:SF 1 "reg_or_fp0_operand" "")) (float_extend:DF (match_operand:SF 2 "reg_or_fp0_operand" "")))) (set (match_operand:SF 0 "register_operand" "") - (if_then_else:SF (ne (match_dup 3) (const_int 0)) + (if_then_else:SF (ne (match_dup 3) (match_dup 4)) (match_dup 1) (match_dup 2)))] "TARGET_FP" "