Explain the use of large register file for risc machines with the help of an example.
Answers
Answer:
Use of large Register file in RISC
The register storage is the faster storage device, faster than even the main memory and the cache. Thus, a strategy is needed that will allow the most frequently accessed operands to be kept in registers and to minimize register memory operations.
Reduced Instruction Set Architecture (RISC) :
The main idea is to simplify hardware by using an instruction set composed of a few basic steps for loading, evaluating, and storing operations. A store command stores data in the same way that a load command does.
RISC Characteristics -
- Simpler instructions require simpler decoding.
- Instruction comes undersize of one word.
- A single clock cycle is required to execute an instruction.
- Registers that are more general-purpose.
- Modes of Simple Addressing
- There are fewer data types.
- A pipeline is feasible.
The use of larger register file in RISC machines is such that A large number of registers can be used to store intermediate results and optimize operand references. The advantage of register storage over memory storage is that registers can transfer information to and from other registers much faster than memory can.
Example:
For a RISC machine cycle time is 75ns
Then, (*0.80*1 + )*0.75* = 0.27s
#SPJ2