Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCustom Instructions: Single-precision -mcustom-* compiler options
Hi, we have a couple of custom instructions (CI) for single precision floating point computing. Including <, >, <= ,int2float, float2int and all that. You can tell the compiler to use the ...
Altera_Forum
Honored Contributor
15 years agoPossibly the compiler is assuming that the FP instructions are included in blocks, I have looked at the gcc code - but wasn't particularly interested in the FP bits.
That asm snippit also seems to have managed to use 'at' (r1 - assembler temporary). I've looked for, but never found, a place where it gets used. (Or have you explicitly enabled it in the compiler and assembler??) Actually it might be interesting to see the compiler output (foo.s) itself.