Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/command-line-slangc-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ slangc -help-style markdown -h
* [line-directive-mode](#line-directive-mode)
* [debug-info-format](#debug-info-format)
* [fp-mode](#fp-mode)
* [denorm-mode-fp&lt;16|32|64&gt;](#denorm-mode-fp<16|32|64>)
* [help-style](#help-style)
* [optimization-level](#optimization-level)
* [debug-level](#debug-level)
Expand Down Expand Up @@ -396,6 +397,30 @@ Disables generics and specialization pass.
Control floating point optimizations


<a id="denorm-mode-fp16"></a>
### -denorm-mode-fp16

**-denorm-mode-fp16 &lt;mode&gt;**

Control handling of 16-bit denormal floating point values (any, preserve, ftz)


<a id="denorm-mode-fp32"></a>
### -denorm-mode-fp32

**-denorm-mode-fp32 &lt;mode&gt;**

Control handling of 32-bit denormal floating point values (any, preserve, ftz)


<a id="denorm-mode-fp64"></a>
### -denorm-mode-fp64

**-denorm-mode-fp64 &lt;mode&gt;**

Control handling of 64-bit denormal floating point values (any, preserve, ftz)


<a id="g"></a>
### -g

Expand Down Expand Up @@ -962,6 +987,15 @@ Floating Point Mode
* `fast` : Allow optimizations that may change results of floating-point computations. Prefer the fastest version of special functions supported by the target.
* `default` : Default floating point mode

<a id="denorm-mode-fp<16|32|64>"></a>
## denorm-mode-fp<16|32|64>

Floating Point Denormal Mode

* `any` : Any denormal handling
* `preserve` : Preserve denormal values
* `ftz` : Flush denormals to zero

<a id="help-style"></a>
## help-style

Expand Down