Predicting a vector length associated with a configuration instruction
AssigneeSiFive, Inc.
InventorBradley Gene Burgess
Life of this patent
Estimating the term…
Abstract
Prediction circuitry may generate a vector length prediction associated with a configuration instruction prior to completion of execution of the configuration instruction. The vector length prediction may indicate a number of data elements on which a vector instruction will operate. In some implementations, the prediction circuitry can generate the vector length prediction by detecting a repeating pattern of vector lengths associated with earlier executions of the configuration instruction. In some implementations, the prediction circuitry can generate the vector length prediction by detecting decrements of an application vector length by a constant value.
Claims20
An apparatus comprising:
- prediction circuitry that generates a vector length prediction associated with a configuration instruction prior to completion of a current execution of the configuration instruction, wherein the vector length prediction indicates a number of data elements on which a vector instruction will operate during an execution of the configuration instruction subsequent to the current execution by N number of executions of the configuration instruction, wherein N is an integer equal to at least one.
A method comprising:
- generating a vector length prediction associated with a configuration instruction prior to completion of a current execution of the configuration instruction, wherein the vector length prediction indicates a number of data elements on which a vector instruction will operate during an execution of the configuration instruction subsequent to the current execution by N number of executions of the configuration instruction, wherein N is an integer equal to at least one.
A non-transitory computer readable medium comprising storing instructions, that upon execution by one or more processors, cause operations comprising:
- generating a vector length prediction associated with a configuration instruction prior to completion of a current execution of the configuration instruction, wherein the vector length prediction indicates a number of data elements on which a vector instruction will operate during an execution of the configuration instruction subsequent to the current execution by N number of executions of the configuration instruction, wherein N is an integer equal to at least one.
Dependencies are inferred from the claim text.