Lesson 1--Review of Computer Architecture Flashcards
Instruction Level Parallelism (ILP)
- -Executing multiple operations simultaneously.
- -Independent of hardware
- -In embedded systems, there is a trade-off between performance and power consumption (decrease clock frequency to save power)
Low Instructions Per Cycle (IPC) is a result of…
- -strict sequential semantics
- -instructions stalled for data or resource release by other instructions
Pipelining
Used to overlap instructions
Pipelines in modern CPUs have the following characteristics
- -execution stages are divided into several steps
- -a later operation can share the resources used by the first operation in previous cycles
- -shared hardware can be pipelined
Cycles Per Instruction (CPI)
((cyclespercentage) + (cyclespercentage) + (cycles*percentage) + …)/100
For a pipeline that is k stages deep, how many cycles does it take to fill the pipeline?
k - 1
VLIW
Very Long Instruction Word
How many operations can a VEX processor have in each cycle using VLIW?
4
In a VEX processor, what are the requirements for the instructions in a single word?
–cannot have dependencies
–cannot share resources
–only one memory access per word
Read After Write (RAW)
True dependency
Write After Write (WAW)
False dependency
Write After Read (WAR)
False dependency
3 Minimizing Dependencies Techniques
- -Branch prediction/ Sspeculation
- -Predication
- -Register Renaming
Branch prediction
Predict which branch might be taken
Predication
Use conditional moves