Lahey/Fujitsu Fortran


Enable flush-to-zero mode for SSE2 instructions

Compile only. Default: -nzfm

Specify -zfm to enable zero flush mode for SSE2 instructions. This option may only be specified if -sse2 and -tp4 are also specified.

Note that using -zfm will disable trapping for floating underflow. If an underflow condition occurs during execution of an SSE2 instruction, the affected variable is set to zero. If this behavior presents a problem, use the -nzfm option to guarantee that the underflow exception is thrown.

Visual Studio Property

The -zfm option is set using the Fortran|Optimization|Zero Flush Mode property. This option can be set on the property page for the project only.

See Also

-SSE2 Option

-TP4 Option

Setting Build Options