×

Decoding conditional program instructions

  • US 20120124346A1
  • Filed: 11/15/2010
  • Published: 05/17/2012
  • Est. Priority Date: 11/15/2010
  • Status: Abandoned Application
First Claim
Patent Images

1. Apparatus for processing data comprising:

  • instruction decoding circuitry configured to decode a program instruction to generate one or more micro-operation instructions;

    processing circuitry configured to process said one or more micro-operation instructions, said processing circuitry including condition resolution circuitry configured to respond to a condition resolution micro-operation instruction to determine if a condition associated with said condition resolution micro-operation instruction is passed or failed;

    whereinat least one conditional program instruction specifying a processing action to be performed by said processing circuitry if a condition associated with said conditional program instruction is passed is decoded by said instruction decoding circuitry in accordance with a condition prediction as one of;

    (i) in accordance with said condition prediction being a condition pass prediction, one or more micro-operation instructions that control said processing circuitry to perform said processing action together with a condition resolution micro-operation instruction; and

    (ii) in accordance with said condition prediction being a condition fail, at least said condition resolution micro-operation instruction; and

    said condition resolution circuitry is configured to respond to said condition resolution micro-operation instruction to determine if said condition prediction is incorrect and if said condition prediction is determined to be incorrect then;

    (a) to flush any micro-operation instructions for said conditional program instruction from said processing circuitry;

    (b) to change said condition prediction for said conditional program instruction to a new condition prediction; and

    (c) to trigger said instruction decoding circuitry to decode said conditional program instruction again using said new condition prediction.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×