From b1346fa335a0ebcb11aae2d271f109dca38af973 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Wed, 14 Jul 2004 23:48:38 +0000 Subject: [PATCH] ia64.c (ia64_expand_compare): Allow ORDERED comparision of TFmode. * config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED comparision of TFmode. From-SVN: r84718 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/ia64.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d03ff9bb8a..c57568f3c1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-14 Steve Ellcey + + * config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED + comparision of TFmode. + 2004-07-14 Richard Henderson * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Move indirect ... diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 86c271cee2e..c3a9f5f9cca 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -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; -- 2.30.2