Method and branch predictors for predicting a target position of a jump tables-switch-statements in a program. The method comprises a continuous monitoring of instructions on the branch predictor, in order to determine whether they are in register writing, the used for this purpose, an input variable to store in a jump tables-switch-statement. Each update of a monitored register, in a register table stored, which is managed by the branch predictor. If then the time has occurred, a prediction for a jump tables-switch-statement-statement, is used to make the branch predictor the stored in the table register value for predicting, where the branch off jump tables-switch-statement is.
展开▼