All Questions
7
questions
2
votes
0
answers
140
views
Branch Prediction: How does a correlative branch predictor select from the global history?
I am trying to understand how branch prediction works, specifically with regards to correlative branch prediction. I understand that in an (m, n) branch predictor, there are m branch predictors, with ...
-4
votes
1
answer
113
views
Where on the 64bit memory of a PC would one byte end up?
I have a simple question I think.
A typical pc with ram has a 64bit databus between the cpu and ram. Let's say the ram starts at address 0, and I write i byte to address 0. Now my question is, would ...
3
votes
4
answers
4k
views
How to align on both word size and cache lines in x86
From what it sounds like, a 64 bit processor means aligning to 64 bits, which means if you have unicode utf-8 stored in there, each 8-bit chunk would take up 64 bits of space. That doesn't really make ...
9
votes
2
answers
8k
views
How does a CPU load multiple bytes at once if memory is byte addressed?
I've been reading about CPUs and how they are implemented, and some big complex architectures (looking at you x86) have instructions that load from memory during one clock cycle. Since one address ...
3
votes
4
answers
20k
views
The difference between accumulator-based and register-based CPU architecture?
I don't understand the difference between an accumulator-based CPU architecture and a register-based CPU architecture. I know x86 is register-based but it has an accumulator-like register. I only ever ...
4
votes
3
answers
4k
views
How does Branch Target Prediction differ from Branch Prediction?
I do not understand how BTP differs from BP? Yes I understand BP evaluates whether a conditional is true/false, but surely implicitly this also determines the "target" instruction?
If I predict the ...
5
votes
3
answers
2k
views
What's so special about x64 vs x86? [closed]
What is the difference between building a .NET project to target 32-bit or 64-bit?
Are there computers that aren't able to run 32-bit programs and only 64-bit?
Do x64 programs run twice as fast?