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
This commit is contained in:
Steve Ellcey 2004-07-14 23:48:38 +00:00 committed by Steve Ellcey
parent ff06b392e8
commit b1346fa335
2 changed files with 6 additions and 0 deletions

View 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 ...

View 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;