Skip to content

Commit 2409b9b

Browse files
committed
add compare table into langref.rst
1 parent dca37d9 commit 2409b9b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

llvm/docs/LangRef.rst

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15868,6 +15868,51 @@ The returned value is completely identical to the input except for the sign bit;
1586815868
in particular, if the input is a NaN, then the quiet/signaling bit and payload
1586915869
are perfectly preserved.
1587015870

15871+
.. _i_fminmax_family:
15872+
15873+
'``llvm.min.*``' Intrinsics Comparation
15874+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15875+
15876+
.. list-table::
15877+
:header-rows: 1
15878+
:widths: 16 28 28 28
15879+
15880+
* - Operation
15881+
- minnum/maxnum
15882+
- minimum/maximum
15883+
- minimumnum/maximumnum
15884+
15885+
* - ``NUM vs qNaN``
15886+
- NUM, no exception
15887+
- qNaN, no exception
15888+
- qNaN, no exception
15889+
15890+
* - ``NUM vs sNaN``
15891+
- qNaN, invalid exception
15892+
- qNaN, invalid exception
15893+
- NUM, invalid exception
15894+
15895+
* - ``qNaN vs sNaN``
15896+
- qNaN, invalid exception
15897+
- qNaN, invalid exception
15898+
- qNaN, invalid exception
15899+
15900+
* - ``sNaN vs sNaN``
15901+
- qNaN, invalid exception
15902+
- qNaN, invalid exception
15903+
- qNaN, invalid exception
15904+
15905+
* - ``+0.0 vs -0.0``
15906+
- either one
15907+
- +0.0(max)/-0.0(min)
15908+
- +0.0(max)/-0.0(min)
15909+
15910+
* - ``NUM vs NUM``
15911+
- larger(max)/smaller(min)
15912+
- larger(max)/smaller(min)
15913+
- larger(max)/smaller(min)
15914+
15915+
1587115916
.. _i_minnum:
1587215917

1587315918
'``llvm.minnum.*``' Intrinsic

0 commit comments

Comments
 (0)