Nios II Custom Instruction User Guide

ID 683242
Date 4/27/2020
Public
Document Table of Contents

6.7.4. -ffinite-math-only

From the GCC documentation:
“Allow optimizations for floating-point arithmetic that assume that arguments and results are not NaNs or +-Infs.”

Programmers are recommended to experiment with this option to determine how it affects their code.

The -ffinite-math-only option also eliminates the GCC overhead created on calls to sqrtf() like –fno-math-errno.