Forum Discussion
Altera_Forum
Honored Contributor
22 years agohw multiplier for Cyclone
With NIOS-1 i could select three implementations for multiplications (sw, mul_step, mul). In Nios-2 this feature is complety missing. Is there any way to tell the SOPC-Builder for NIOS-2 to integrate...
Altera_Forum
Honored Contributor
21 years agoHi Kerry,
<div class='quotetop'>QUOTE </div> --- Quote Start --- __mulsi3 is the standard GCC single-width integer multiply routine. It is called when the compiler knows that the Nios II processor lacks integer multiply instructions. It's a great place to put your multiply custom instruction.[/b] --- Quote End --- We got now the problem that we don't know how to tell the compiler to recompile the "lib2-mul.c" where we call our custom multiply instruction. It has something to do with the libgcc - are there some compiler flags we can set? Perhaps a trivial question - but we have more knowledge on the HW-stuff than on compilers...