Skip to content

Commit c36cbba

Browse files
committed
Update IEEE-754 2018 draft references to IEEE-754 2019
1 parent 14d8c45 commit c36cbba

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

llvm/docs/GlobalISel/GenericOpcode.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,15 +536,15 @@ G_FMINIMUM
536536
^^^^^^^^^^
537537

538538
NaN-propagating minimum that also treat -0.0 as less than 0.0. While
539-
FMINNUM_IEEE follow IEEE 754-2008 semantics, FMINIMUM follows IEEE 754-2018
540-
draft semantics.
539+
FMINNUM_IEEE follow IEEE 754-2008 semantics, FMINIMUM follows IEEE
540+
754-2019 semantics.
541541

542542
G_FMAXIMUM
543543
^^^^^^^^^^
544544

545545
NaN-propagating maximum that also treat -0.0 as less than 0.0. While
546-
FMAXNUM_IEEE follow IEEE 754-2008 semantics, FMAXIMUM follows IEEE 754-2018
547-
draft semantics.
546+
FMAXNUM_IEEE follow IEEE 754-2008 semantics, FMAXIMUM follows IEEE
547+
754-2019 semantics.
548548

549549
G_FADD, G_FSUB, G_FMUL, G_FDIV, G_FREM
550550
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

llvm/docs/LangRef.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15581,7 +15581,7 @@ Semantics:
1558115581
If either operand is a NaN, returns NaN. Otherwise returns the lesser
1558215582
of the two arguments. -0.0 is considered to be less than +0.0 for this
1558315583
intrinsic. Note that these are the semantics specified in the draft of
15584-
IEEE 754-2018.
15584+
IEEE 754-2019.
1558515585

1558615586
.. _i_maximum:
1558715587

@@ -15621,7 +15621,7 @@ Semantics:
1562115621
If either operand is a NaN, returns NaN. Otherwise returns the greater
1562215622
of the two arguments. -0.0 is considered to be less than +0.0 for this
1562315623
intrinsic. Note that these are the semantics specified in the draft of
15624-
IEEE 754-2018.
15624+
IEEE 754-2019.
1562515625

1562615626
.. _int_copysign:
1562715627

@@ -26000,7 +26000,7 @@ The third argument specifies the exception behavior as described above.
2600026000
Semantics:
2600126001
""""""""""
2600226002

26003-
This function follows semantics specified in the draft of IEEE 754-2018.
26003+
This function follows semantics specified in the draft of IEEE 754-2019.
2600426004

2600526005

2600626006
'``llvm.experimental.constrained.minimum``' Intrinsic
@@ -26032,7 +26032,7 @@ The third argument specifies the exception behavior as described above.
2603226032
Semantics:
2603326033
""""""""""
2603426034

26035-
This function follows semantics specified in the draft of IEEE 754-2018.
26035+
This function follows semantics specified in the draft of IEEE 754-2019.
2603626036

2603726037

2603826038
'``llvm.experimental.constrained.ceil``' Intrinsic

llvm/include/llvm/ADT/APFloat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ inline APFloat maxnum(const APFloat &A, const APFloat &B) {
14111411
return A < B ? B : A;
14121412
}
14131413

1414-
/// Implements IEEE 754-2018 minimum semantics. Returns the smaller of 2
1414+
/// Implements IEEE 754-2019 minimum semantics. Returns the smaller of 2
14151415
/// arguments, propagating NaNs and treating -0 as less than +0.
14161416
LLVM_READONLY
14171417
inline APFloat minimum(const APFloat &A, const APFloat &B) {
@@ -1424,7 +1424,7 @@ inline APFloat minimum(const APFloat &A, const APFloat &B) {
14241424
return B < A ? B : A;
14251425
}
14261426

1427-
/// Implements IEEE 754-2018 maximum semantics. Returns the larger of 2
1427+
/// Implements IEEE 754-2019 maximum semantics. Returns the larger of 2
14281428
/// arguments, propagating NaNs and treating -0 as less than +0.
14291429
LLVM_READONLY
14301430
inline APFloat maximum(const APFloat &A, const APFloat &B) {

llvm/include/llvm/CodeGen/ISDOpcodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ enum NodeType {
978978

979979
/// FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
980980
/// as less than 0.0. While FMINNUM_IEEE/FMAXNUM_IEEE follow IEEE 754-2008
981-
/// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2018 draft semantics.
981+
/// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2019 semantics.
982982
FMINIMUM,
983983
FMAXIMUM,
984984

llvm/include/llvm/Target/GenericOpcodes.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def G_FMAXNUM_IEEE : GenericInstruction {
815815

816816
// FMINIMUM/FMAXIMUM - NaN-propagating minimum/maximum that also treat -0.0
817817
// as less than 0.0. While FMINNUM_IEEE/FMAXNUM_IEEE follow IEEE 754-2008
818-
// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2018 draft semantics.
818+
// semantics, FMINIMUM/FMAXIMUM follow IEEE 754-2019 semantics.
819819
def G_FMINIMUM : GenericInstruction {
820820
let OutOperandList = (outs type0:$dst);
821821
let InOperandList = (ins type0:$src1, type0:$src2);

0 commit comments

Comments
 (0)