Remove minnum/maxnum.

This commit is contained in:
Dan Gohman
2017-10-18 14:39:21 -07:00
parent a57a05cb92
commit 55bc368bf8
2 changed files with 3 additions and 23 deletions

View File

@@ -853,16 +853,14 @@ significand bits are always preserved.
Minimum and maximum Minimum and maximum
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
These instructions return the larger or smaller of their operands. They differ These instructions return the larger or smaller of their operands. Note that
in their handling of quiet NaN inputs. Note that signaling NaN operands always unlike the IEEE 754-2008 `minNum` and `maxNum` operations, these instructions
cause a NaN result. return NaN when either input is NaN.
When comparing zeroes, these instructions behave as if :math:`-0.0 < 0.0`. When comparing zeroes, these instructions behave as if :math:`-0.0 < 0.0`.
.. autoinst:: fmin .. autoinst:: fmin
.. autoinst:: fminnum
.. autoinst:: fmax .. autoinst:: fmax
.. autoinst:: fmaxnum
Rounding Rounding
~~~~~~~~ ~~~~~~~~

View File

@@ -1383,15 +1383,6 @@ fmin = Instruction(
""", """,
ins=(x, y), outs=a) ins=(x, y), outs=a)
fminnum = Instruction(
'fminnum', r"""
Floating point minimum, suppressing quiet NaNs.
If either operand is a quiet NaN, the other operand is returned. If
either operand is a signaling NaN, NaN is returned.
""",
ins=(x, y), outs=a)
a = Operand('a', Float, 'The larger of ``x`` and ``y``') a = Operand('a', Float, 'The larger of ``x`` and ``y``')
fmax = Instruction( fmax = Instruction(
@@ -1402,15 +1393,6 @@ fmax = Instruction(
""", """,
ins=(x, y), outs=a) ins=(x, y), outs=a)
fmaxnum = Instruction(
'fmaxnum', r"""
Floating point maximum, suppressing quiet NaNs.
If either operand is a quiet NaN, the other operand is returned. If
either operand is a signaling NaN, NaN is returned.
""",
ins=(x, y), outs=a)
a = Operand('a', Float, '``x`` rounded to integral value') a = Operand('a', Float, '``x`` rounded to integral value')
ceil = Instruction( ceil = Instruction(