Forum Discussion
Altera_Forum
Honored Contributor
22 years agoSign Extend operation
Hi, Now I am worry about performance of Sign Extend operation. for example, char sc(unsgined char uc) { return (signed char) uc; } Nios II GCC will generates following cod...
Altera_Forum
Honored Contributor
22 years agoHi BadOmen.
Thanks for reply. I know how to accelerate the performance manually. But this code was generated by Nios II GCC. Manual optimization requires source modifying. I don't wanna touch source code.... "soft" DSP means instance multiplier with LEs and memory? Could you tell me which option to do that?# or can I find backlog? But sounds like it is BIG resource requirement and SLOW fMax... I need shift performance, don't need multiplier. Is there any way to embedded user custom instruction as shift (or sign extension) operation? Nios I can do so. Thanks in advance.