mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 05:56:06 +00:00
Update IEEE-754 2018 draft references to IEEE-754 2019
This commit is contained in:
parent
14d8c4563e
commit
c36cbba6fb
@ -536,15 +536,15 @@ G_FMINIMUM
|
||||
^^^^^^^^^^
|
||||
|
||||
NaN-propagating minimum that also treat -0.0 as less than 0.0. While
|
||||
FMINNUM_IEEE follow IEEE 754-2008 semantics, FMINIMUM follows IEEE 754-2018
|
||||
draft semantics.
|
||||
FMINNUM_IEEE follow IEEE 754-2008 semantics, FMINIMUM follows IEEE
|
||||
754-2019 semantics.
|
||||
|
||||
G_FMAXIMUM
|
||||
^^^^^^^^^^
|
||||
|
||||
NaN-propagating maximum that also treat -0.0 as less than 0.0. While
|
||||
FMAXNUM_IEEE follow IEEE 754-2008 semantics, FMAXIMUM follows IEEE 754-2018
|
||||
draft semantics.
|
||||
FMAXNUM_IEEE follow IEEE 754-2008 semantics, FMAXIMUM follows IEEE
|
||||
754-2019 semantics.
|
||||
|
||||
G_FADD, G_FSUB, G_FMUL, G_FDIV, G_FREM
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
@ -15581,7 +15581,7 @@ Semantics:
|
||||
If either operand is a NaN, returns NaN. Otherwise returns the lesser
|
||||
of the two arguments. -0.0 is considered to be less than +0.0 for this
|
||||
intrinsic. Note that these are the semantics specified in the draft of
|
||||
IEEE 754-2018.
|
||||
IEEE 754-2019.
|
||||
|
||||
.. _i_maximum:
|
||||
|
||||
@ -15621,7 +15621,7 @@ Semantics:
|
||||
If either operand is a NaN, returns NaN. Otherwise returns the greater
|
||||
of the two arguments. -0.0 is considered to be less than +0.0 for this
|
||||
intrinsic. Note that these are the semantics specified in the draft of
|
||||
IEEE 754-2018.
|
||||
IEEE 754-2019.
|
||||
|
||||
.. _int_copysign:
|
||||
|
||||
@ -26000,7 +26000,7 @@ The third argument specifies the exception behavior as described above.
|
||||
Semantics:
|
||||
""""""""""
|
||||
|
||||
This function follows semantics specified in the draft of IEEE 754-2018.
|
||||
This function follows semantics specified in the draft of IEEE 754-2019.
|
||||
|
||||
|
||||
'``llvm.experimental.constrained.minimum``' Intrinsic
|
||||
@ -26032,7 +26032,7 @@ The third argument specifies the exception behavior as described above.
|
||||
Semantics:
|
||||
""""""""""
|
||||
|
||||
This function follows semantics specified in the draft of IEEE 754-2018.
|
||||
This function follows semantics specified in the draft of IEEE 754-2019.
|
||||
|
||||
|
||||
'``llvm.experimental.constrained.ceil``' Intrinsic
|
||||
|
@ -1411,7 +1411,7 @@ inline APFloat maxnum(const APFloat &A, const APFloat &B) {
|
||||
return A < B ? B : A;
|
||||
}
|
||||
|
||||
/// Implements IEEE 754-2018 minimum semantics. Returns the smaller of 2
|
||||
/// Implements IEEE 754-2019 minimum semantics. Returns the smaller of 2
|
||||
/// arguments, propagating NaNs and treating -0 as less than +0.
|
||||
LLVM_READONLY
|
||||
inline APFloat minimum(const APFloat &A, const APFloat &B) {
|
||||
@ -1424,7 +1424,7 @@ inline APFloat minimum(const APFloat &A, const APFloat &B) {
|
||||
return B < A ? B : A;
|
||||
}
|
||||
|
||||
/// Implements IEEE 754-2018 maximum semantics. Returns the larger of 2
|
||||
/// Implements IEEE 754-2019 maximum semantics. Returns the larger of 2
|
||||
/// arguments, propagating NaNs and treating -0 as less than +0.
|
||||
LLVM_READONLY
|
||||
inline APFloat maximum(const APFloat &A, const APFloat &B) {
|
||||
|
@ -978,7 +978,7 @@ enum NodeType {
|
||||
|
||||
/// FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
|
||||
/// as less than 0.0. While FMINNUM_IEEE/FMAXNUM_IEEE follow IEEE 754-2008
|
||||
/// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2018 draft semantics.
|
||||
/// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2019 semantics.
|
||||
FMINIMUM,
|
||||
FMAXIMUM,
|
||||
|
||||
|
@ -815,7 +815,7 @@ def G_FMAXNUM_IEEE : GenericInstruction {
|
||||
|
||||
// FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
|
||||
// as less than 0.0. While FMINNUM_IEEE/FMAXNUM_IEEE follow IEEE 754-2008
|
||||
// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2018 draft semantics.
|
||||
// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2019 semantics.
|
||||
def G_FMINIMUM : GenericInstruction {
|
||||
let OutOperandList = (outs type0:$dst);
|
||||
let InOperandList = (ins type0:$src1, type0:$src2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user