This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Question about program flow prediction

I am examining ARM Cortex-A8 program flow prediction abilities, in document of Cortex-A8 arm specified that it would predict LDM instruction with PC in register list. now i have a question, if we have some condition in the instruction, such as "LDMGE", again flow prediction will predict result of the "LDM" or no?? 

consider below instruction sequence:

ldr     r1, [index,#0]
ldr     r2, [r3, $ArraySize_Add]
cmd     r1, r2
ldmge   sp, { r11 sp pc }
...

if we execute above code where value of index is lower than array_size for 8-time (where ge condition is not correct),  we can expect that in 9th time program flow prediction predict that ldmge condition is no correct and execute instructions after that speculativly??