Forum Discussion
Altera_Forum
Honored Contributor
21 years agoUnnecessary instructions
Hello, it's my first post. I have question about GCC generated code. We can find several unnecessary instructions. --- sample code --- unsigned short uh; uh = IORD_16DIRECT(base,ofst)...
Altera_Forum
Honored Contributor
21 years agoHi!
Sorry, I forgot writing options. I tested -O1,-O2 & -O3. Register usage are different, but code sequence are similar. The other options are IDE default.