×

Method and apparatus for nested instruction looping using implicit predicates

  • US 7,945,768 B2
  • Filed: 06/05/2008
  • Issued: 05/17/2011
  • Est. Priority Date: 06/05/2008
  • Status: Active Grant
First Claim
Patent Images

1. A vector processor for executing a nested program loop having an inner loop and an outer loop, the vector processor comprising:

  • a first input stream unit comprising a fetch unit, a logic circuit and a first inner counter, the first input stream unit being configured to fetch a data value once per outer loop iteration of the nested program loop, as indicated by the first inner counter and being further configured to output, to a data path, the data value and a data validity tag associated with the data value, the data validity tag indicating that the data value is valid, and the first input stream unit being configured to set the data validity tag associated with the data value to indicate that the data value is invalid at other iterations of the inner loop;

    a plurality of functional units, each functional unit being configured to operate on input data values in the data path and produce, as output, a data value and an associated data validity tag, wherein the data validity tag is set to indicate that the output data value is valid if all of the inputs are valid; and

    a first output stream unit configured to receive a data value and an associated data validity tag from the data path, the first output stream unit comprising a store unit, a logic circuit and a second inner counter,wherein, once per outer loop iteration of the nested program loop, as indicated by the second inner counter, the first output stream unit sinks a data value if it is valid, as indicated by the associated data validity tag, andwherein, at other inner loop iterations, or if the data validity tag indicates that the data value is invalid, the first output stream unit does not sink the data value;

    wherein the data path comprises an interconnect switch configured to couple between the plurality of functional units, the first input stream unit and the first output stream unit.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×