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 agoOops I said that wrong. A < B is equivalent to B >= A. Try passing in the flag for greater than or equal and see if the objdump contains the custom instruction mnemonic.
So I think your "if (a<b)" is being turned into "if(b>=a)" by the compiler.