why having a small number of registers hinders CPU performan

why having a small number of registers hinders CPU performance.

Solution

Registers are high-speed memory area inside CPU.For any data to be processed the data has to be brought to register memory . even the processed result has to be stored in register memory (Register stores the address of the result not the actual data) . so the size of the register memory and the number directly impacts the data that can be processed in one go (Although practically this is not a directly proportional relationship after a certain number the graph tend to take a step curve downwards) so that\'s why having a small number of register hinders CPU performance. A 32 bit register can store memory addresses upto 2^32 =~ 4 GB of data but a 64 bit register can go upto 16GB which is 4 times more data hence more performance.

why having a small number of registers hinders CPU performance.SolutionRegisters are high-speed memory area inside CPU.For any data to be processed the data has

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site