Given the following code:
func_pointer functions[] = { &func1, &func2, ..., &funcn }
void dispatch(int i) {
functions[i]();
}
The address of the destination is not known in the compile time. Can the CPU speculate the destination of the call in case function dispatch() is called several times with the same value for parameter i?