摘要 |
PROBLEM TO BE SOLVED: To provide a method of detecting a first backward branch instruction that occurs after a predicate-generating instruction.SOLUTION: A method for suppressing prediction of a backward branch instruction used in a vector partitioning loop includes a step of detecting a first backward branch instruction that occurs after a predicate-generating instruction. The predicate-generating instruction generates a predicate vector that is dependent upon a dependency vector, where each element of the dependency vector indicates whether a data dependency exists between elements of a vector instruction. The method also includes a step of receiving an indication of a prediction accuracy of a prediction of the backward branch instruction. If the prediction accuracy does not satisfy a threshold value, the prediction of the backward branch instruction is suppressed until the dependency vector on which the predicate-generating instruction depends is available. |