[clang] Disable FTZ/DAZ when compiling shared libraries by default. (PR #80475)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 2 11:00:22 PST 2024


================
@@ -2554,6 +2554,11 @@ defm protect_parens : BoolFOption<"protect-parens",
           "floating-point expressions are evaluated">,
   NegFlag<SetFalse>>;
 
+defm daz_ftz : SimpleMFlag<"daz-ftz",
+  "Globally set", "Do not globally set",
+  " the denormals-are-zero (DAZ) and flush-to-zero (FTZ) bits in the "
+  "floating-point control register on program startup.">;
----------------
MaskRay wrote:

The convention omits the trailing period.

https://github.com/llvm/llvm-project/pull/80475


More information about the cfe-commits mailing list