diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-22 22:49:06 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-22 22:49:06 +0000 |
commit | 10c2e6f6d82ad3bb70185530b9a18227c0c9c740 (patch) | |
tree | 44a7d07f7a98f7ff87b2faa87658e1de80d69f42 /gcc/tree.def | |
parent | 324f360b361a021b7dc96410305d5a84d4a88c9e (diff) | |
download | gcc-10c2e6f6d82ad3bb70185530b9a18227c0c9c740.tar.gz |
* genopinit.c (optabs): Use smin/smax for floating point too.
* doc/md.texi: Update to match. Clarify that floating point
results are undefined for +0/-0 and NaN.
* doc/rtl.texi: Likewise.
* rtl.def (SMIN, SMAX): Likewise
* tree.def (MIN_EXPR, MAX_EXPR): Likewise.
* config/alpha/alpha.md (smaxdf3, smindf3, smaxsf3, sminsf3): Add
leading 's' to the name.
* config/ia64/ia64.md (smaxsf3, sminsf3, smaxdf3, smindf3,
smaxxf3, sminxf3): Likewise.
* config/rs6000/rs6000.md (smaxdf3, smindf3, smaxsf3, sminsf3):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94083 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r-- | gcc/tree.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def index a03f2bbb8fa..370250dc616 100644 --- a/gcc/tree.def +++ b/gcc/tree.def @@ -650,6 +650,9 @@ DEFTREECODE (FLOAT_EXPR, "float_expr", tcc_unary, 1) /* Unary negation. */ DEFTREECODE (NEGATE_EXPR, "negate_expr", tcc_unary, 1) +/* Minimum and maximum values. When used with floating point, if both + operands are zeros, or if either operand is NaN, then it is unspecified + which of the two operands is returned as the result. */ DEFTREECODE (MIN_EXPR, "min_expr", tcc_binary, 2) DEFTREECODE (MAX_EXPR, "max_expr", tcc_binary, 2) |