Altera_Forum
Honored Contributor
12 years agoChange compiler option flags for double precision floating point custom instruction
Hi,
I am trying to impliment a double precision floating point in hardware (custom instruction) but I don't know how to change the compiler option flags to tell NIOS II to use the custom instruction instead of software implimentation. I'm using Nios II 13.0 in Windows 7 and this are the flags I want to change : -mcustom-fwrx=0 -mcustom-fwry=1 -mcustom-frdxlo=2 -mcustom-frdxhi=3 -mcustom-frdy=4 -mcustom-fadd=5 -mcustom-fsubd=6 -mcustom-fmuld=7 -mcustom-fdivd=8 -mcustom-floatid=9 -mcustom-fixdi=10 -mcustom-fcmpltd=11 -mcustom-fcmpled=12 -mcustom-fcmpgtd=13 -mcustom-fcmpged=14 -mcustom-fcmpeqd=15 -mcustom-fcmpned=16 Thank You