Skip to content

Commit ad480e9

Browse files
committed
Small changes in documentation
1 parent add26fe commit ad480e9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

llvm/docs/LangRef.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3085,8 +3085,9 @@ floating-point control modes and the treatment of status bits respectively.
30853085
An operand bundle tagged with "fp.control" contains information about the
30863086
control modes used for the operation execution. Operands specified in this
30873087
bundle represent particular options. Currently, only rounding mode is supported.
3088-
It is represented by a metadata string value, which specifies the rounding mode
3089-
to be used for the operation evaluation. Possible values are:
3088+
3089+
Rounding mode is represented by a metadata string value, which specifies the
3090+
the mode used for the operation evaluation. Possible values are:
30903091

30913092
::
30923093

@@ -3097,10 +3098,10 @@ to be used for the operation evaluation. Possible values are:
30973098
"rmm" - to nearest, ties away from zero
30983099
"dyn" - rounding mode is taken from control register
30993100

3100-
If "fp.control" is absent, the default rounding rounding mode is taken from the
3101-
control register (dynamic rounding). In the particular case of
3102-
:ref:`default floating-point environment <floatenv>`, it must be rounding to
3103-
nearest, ties to even.
3101+
Only one such value may be specified. If "fp.control" is absent, the default
3102+
rounding rounding mode is taken from the control register (dynamic rounding).
3103+
In the particular case of :ref:`default floating-point environment <floatenv>`,
3104+
the operation uses rounding to nearest, ties to even.
31043105

31053106
An operand bundle tagged with "fp.except" may be associated with operations
31063107
that can read or write floating-point exception flags. It contains a single

0 commit comments

Comments
 (0)