cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Double-precision -mcustom-* options

Double-precision -mcustom-* options



first operandsecond operandoperationresultnios2-elf-gcc optionGCC pattern name
doublenonewrite Xnone-mcustom-fwrx=Nnios2_fwrx
floatnonewrite Ynone-mcustom-fwry=Nnios2_fwry
nonenoneread low half of Xfloat-mcustom-frdxlo=Nnios2_frdxlo
nonenoneread high half of Xfloat-mcustom-frdxhi=Nnios2_frdxhi
nonenoneread Yfloat-mcustom-frdy=Nnios2_frdy






doubledouble+double-mcustom-faddd=Nadddf3
doubledouble-double-mcustom-fsubd=Nsubdf3
doubledouble*double-mcustom-fmuld=Nmuldf3
doubledouble/double-mcustom-fdivd=Ndivdf3
doubledoublemindouble-mcustom-fmind=Nmindf3
doubledoublemaxdouble-mcustom-fmaxd=Nmaxdf3
doublenonenegationdouble-mcustom-fnegd=Nnegdf2
doublenoneabsdouble-mcustom-fabsd=Nabsdf2
doublenonesqrtdouble-mcustom-fsqrtd=Nsqrtdf2
doublenonecosdouble-mcustom-fcosd=Ncosdf2
doublenonesindouble-mcustom-fsind=Nsindf2
doublenonetandouble-mcustom-ftand=Ntandf2
doublenoneatandouble-mcustom-fatand=Natandf2
doublenoneexpdouble-mcustom-fexpd=Nexpdf2
doublenonelogdouble-mcustom-flogd=Nlogdf2
doubledouble<int-mcustom-fcmpltd=Nnios2_sltdf
doubledouble<=int-mcustom-fcmpled=Nnios2_sledf
doubledouble>int-mcustom-fcmpgtd=Nnios2_sgtdf
doubledouble>=int-mcustom-fcmpged=Nnios2_sgedf
doubledouble==int-mcustom-fcmpeqd=Nnios2_seqdf
doubledouble !=int-mcustom-fcmpned=Nnios2_snedf






intnoneint to doubledouble-mcustom-floatid=Nfloatsidf2
unsignednoneunsigned to doubledouble-mcustom-floatud=Nfloatunssidf2
doublenonedouble to intint-mcustom-fixdi=Nfixdfsi2
doublenonedouble to unsignedunsigned-mcustom-fixdu=Nfixunsdfsi2






floatnonefloat to doubledouble-mcustom-fextsd=Nextendsfdf2
doublenonedouble to floatfloat-mcustom-ftruncds=Ntruncdfsf2

  


Version history
Last update:
‎06-26-2019 05:08 AM
Updated by:
Contributors