@@ -1452,8 +1452,6 @@ floating point semantic models: precise (the default), strict, and fast.
1452
1452
"fenv_access", "off", "on", "off"
1453
1453
"rounding_mode", "tonearest", "dynamic", "tonearest"
1454
1454
"contract", "on", "off", "fast"
1455
- "denormal_fp_math", "IEEE", "IEEE", "target-dependent"
1456
- "denormal_fp32_math", "IEEE","IEEE", "target-dependent"
1457
1455
"support_math_errno", "on", "on", "off"
1458
1456
"no_honor_nans", "off", "off", "on"
1459
1457
"no_honor_infinities", "off", "off", "on"
@@ -1462,6 +1460,14 @@ floating point semantic models: precise (the default), strict, and fast.
1462
1460
"allow_approximate_fns", "off", "off", "on"
1463
1461
"allow_reassociation", "off", "off", "on"
1464
1462
1463
+ The ``-fp-model `` option does not modify the "fdenormal-fp-math" or
1464
+ "fdenormal-fp-math-f32" settings, but it does have an impact on whether
1465
+ "crtfastmath.o" is linked. Because linking "crtfastmath.o" has a global
1466
+ effect on the program, and because the global denormal handling can be
1467
+ changed in other ways, the state of "fdenormal-fp-math" handling cannot
1468
+ be assumed in any function based on fp-model. See :ref: `crtfastmath.o `
1469
+ for more details.
1470
+
1465
1471
.. option :: -ffast-math
1466
1472
1467
1473
Enable fast-math mode. This option lets the
@@ -1537,7 +1543,6 @@ floating point semantic models: precise (the default), strict, and fast.
1537
1543
Also, this option resets following options to their target-dependent defaults.
1538
1544
1539
1545
* ``-f[no-]math-errno ``
1540
- * ``-fdenormal-fp-math=<value> ``
1541
1546
1542
1547
There is ambiguity about how ``-ffp-contract ``, ``-ffast-math ``,
1543
1548
and ``-fno-fast-math `` behave when combined. To keep the value of
@@ -1560,8 +1565,7 @@ floating point semantic models: precise (the default), strict, and fast.
1560
1565
``-ffp-contract `` setting is determined by the default value of
1561
1566
``-ffp-contract ``.
1562
1567
1563
- Note: ``-fno-fast-math `` implies ``-fdenormal-fp-math=ieee ``.
1564
- ``-fno-fast-math `` causes ``crtfastmath.o `` to not be linked with code
1568
+ Note: ``-fno-fast-math `` causes ``crtfastmath.o `` to not be linked with code
1565
1569
unless ``-mdaz-ftz `` is present.
1566
1570
1567
1571
.. option :: -fdenormal-fp-math= <value >
@@ -1694,7 +1698,6 @@ floating point semantic models: precise (the default), strict, and fast.
1694
1698
* ``-fsigned-zeros ``
1695
1699
* ``-ftrapping-math ``
1696
1700
* ``-ffp-contract=on ``
1697
- * ``-fdenormal-fp-math=ieee ``
1698
1701
1699
1702
There is ambiguity about how ``-ffp-contract ``,
1700
1703
``-funsafe-math-optimizations ``, and ``-fno-unsafe-math-optimizations ``
0 commit comments