ia64.c (ia64_expand_compare): Allow ORDERED comparision of TFmode.
authorSteve Ellcey <sje@cup.hp.com>
Wed, 14 Jul 2004 23:48:38 +0000 (23:48 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Wed, 14 Jul 2004 23:48:38 +0000 (23:48 +0000)
* config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED
comparision of TFmode.

From-SVN: r84718

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 7d03ff9bb8a1a69543af3e40c42c3722db5e3494..c57568f3c1a2b47ea7f4d8726a4ed8a9db3c77a8 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED
+       comparision of TFmode.
+
 2004-07-14  Richard Henderson  <rth@redhat.com>
 
        * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Move indirect ...
index 86c271cee2e870b03fc60f9d0b7f43ce25cdecd2..c3a9f5f9cca2ed84afa8ed206abaa760ac565cb3 100644 (file)
@@ -1698,6 +1698,7 @@ ia64_expand_compare (enum rtx_code code, enum machine_mode mode)
        case NE:        magic = QCMP_EQ;                  ncode = EQ; break;
          /* isunordered() from C99.  */
        case UNORDERED: magic = QCMP_UNORD;               ncode = NE; break;
+       case ORDERED:   magic = QCMP_UNORD;               ncode = EQ; break;
          /* Relational operators raise FP_INVALID when given
             an SNaN operand.  */
        case LT:        magic = QCMP_LT        |QCMP_INV; ncode = NE; break;