Visible to Intel only — GUID: tbu1505428900347
Ixiasoft
Visible to Intel only — GUID: tbu1505428900347
Ixiasoft
7.3.3. Software Implementation for FPH1
The software uses #pragma directives to compare hardware and software implementations of the floating point instructions.
The following pragmas direct the Nios II compiler to ignore the FPH1 custom instructions and generate software implementations:
- #pragma no_custom_fadds—forces software implementation of floating point add
- #pragma no_custom_fsubs—forces software implementation of floating point subtract
- #pragma no_custom_fmuls—forces software implementation of floating point multiply
- #pragma no_custom_fdivs—forces software implementation of floating point divide
The scope of these pragmas is the entire C file.