I have a project for my O/S class on cpu's and there are a few things that confuse me.
1. During fetching am I correct to assume that the data is taken from the source i.e. hd, then it moves up the mempory chain ram- L3 chache to L2 to L1 to registers?
2. L1 instruction cache. The cpu loads the to be used instruction into the registers, correct? Does it happen in parralel with the fetching of data?
3. Branch prediction. AFAIK branch prediction is all about trying to grab the next piece of data(instruction?) to be used. Where is the data stored and on a related subject where does data reside after it exits one stage of the pipeling before (i.e. while it waits) to enter the next?
4. Are cache and registers emptied the same way system ram is emptied?
1. During fetching am I correct to assume that the data is taken from the source i.e. hd, then it moves up the mempory chain ram- L3 chache to L2 to L1 to registers?
2. L1 instruction cache. The cpu loads the to be used instruction into the registers, correct? Does it happen in parralel with the fetching of data?
3. Branch prediction. AFAIK branch prediction is all about trying to grab the next piece of data(instruction?) to be used. Where is the data stored and on a related subject where does data reside after it exits one stage of the pipeling before (i.e. while it waits) to enter the next?
4. Are cache and registers emptied the same way system ram is emptied?