Approach used in server and desktop processors and not used as extensively in PMP processes.
Hardware-based dynamic approaches
When exploiting instruction-level parallelism, goal is to ___________.
maximize CPI
Pipeline CPI = ?
Ideal Pipeline CPI + Structural Stalls + Data Hazard Stalls + Control Stalls
What is the typical size of basic block in parallelism?
3-6 instructions
What are the challenges of data dependency?
This determines if dependence is detected and if it causes a stall
Pipeline organization
What does data dependence conveys?
This dependence is when two instructions use the same name but no flow of information.
Name dependence
Not a true data dependence but is a problem when reordering instructions.
Name dependence
This dependence is when instruction j writes a register or memory location that instruction i reads
Antidependence
What must be preserved for antidependence?
Initial ordering
This dependence is when instruction i and j write the same register or memory location
Output dependence
What must be preserved for output dependence?
Ordering
To resolve name dependencies, what must be used?
Register renaming techniques
What are the data hazards?
RAW, WAW, WAR
This dependence is the ordering of instruction i with respect to a branch instruction
Control Dependence
Instruction control dependent on branch cannot be moved before the branch so that its execution is _______________________.
No longer controlled by the branch
This separates dependent instruction from the source instruction by the pipeline latency of the source instruction.
Pipeline scheduling
This goals to make k copies of the loop body.
Strip Mining
For each branch this predicts taken or not taken.
Basic 2 bit predictor
If the prediction is wrong two consecutive times, ______.
change prediction
Multiple 2 bit predictors for each branch where one for each possible combination of outcomes of preceding n branches.
Correlating predictor
Combines correlating predictor with local predictor.
Tournament Predictor
Need to have predictor for each branch and history.
Tagged Hybrid Predictors