Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCan I accelerate?
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif hello,everyone! My NiosII's C code is: int main() { unsigned count; while(1) { count=IORD_ALTER...
Altera_Forum
Honored Contributor
21 years agoFor a simple example like this, assembler code probably won't do better than optimised C. I assume you are using a release build - if not then please select one.
But if you want to check then please open up a Nios II shell, change to <project dir>/Release and type `make obj/<filename>.s`. The .s file shows the assembly language code which the compiler has generated. Please post the assembler code and we can comment more usefully on what's going on.