Skip to main content
added 10 characters in body
Source Link
Kevin White
  • 34.2k
  • 1
  • 53
  • 81

The Instruction cache stores the most recently used instructions and their addresses so that if an instruction needs to be repeated it doesn't have to be retrieved from main memory - this is much quicker.

For example the first time a loop is performed the instructions will be retrieved from main memory and alsosimultaneously placed into the cache. On subsequent iterations of the loop the instructions can then be quickly retrieved from the fast cache memory.

The addresses are stored in the cache together with information that indicates whether the cache is up-to-date so the CPU control knows whether it can use the cached instructions or needs to go to main memory.

The Instruction cache stores the most recently used instructions and their addresses so that if an instruction needs to be repeated it doesn't have to be retrieved from main memory - this is much quicker.

For example the first time a loop is performed the instructions will be retrieved from main memory and also placed into the cache. On subsequent iterations of the loop the instructions can then be quickly retrieved from the fast cache memory.

The addresses are stored in the cache together with information that indicates whether the cache is up-to-date so the CPU control knows whether it can use the cached instructions or needs to go to main memory.

The Instruction cache stores the most recently used instructions and their addresses so that if an instruction needs to be repeated it doesn't have to be retrieved from main memory - this is much quicker.

For example the first time a loop is performed the instructions will be retrieved from main memory and simultaneously placed into the cache. On subsequent iterations of the loop the instructions can then be quickly retrieved from the fast cache memory.

The addresses are stored in the cache together with information that indicates whether the cache is up-to-date so the CPU control knows whether it can use the cached instructions or needs to go to main memory.

Source Link
Kevin White
  • 34.2k
  • 1
  • 53
  • 81

The Instruction cache stores the most recently used instructions and their addresses so that if an instruction needs to be repeated it doesn't have to be retrieved from main memory - this is much quicker.

For example the first time a loop is performed the instructions will be retrieved from main memory and also placed into the cache. On subsequent iterations of the loop the instructions can then be quickly retrieved from the fast cache memory.

The addresses are stored in the cache together with information that indicates whether the cache is up-to-date so the CPU control knows whether it can use the cached instructions or needs to go to main memory.