Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDynamic branch prediction info
Is there any information about how the dynamic branch prediction of the Nios II/f works? We are looking to reduce the worst-case paths through some relatively short functions (less than 1k of ...
Altera_Forum
Honored Contributor
16 years agoI assume you've gotten all you can out of this:
http://www.altera.com/literature/hb/nios2/n2cpu_nii5v1.pdf What behavior are you seeing? You would hope that the branch predictor might get the first case wrong, and the taken case wrong but all the cases between correct. Are you striving for minimum execution time or predictability? Can you post the code for the statement that's causing you grief? Jake