Questions tagged [risc-v]
3 questions
5
votes
6 answers
Why is backpatching needed during intermediate code generation? For what purposes?
I understand how backpatching works during intermediate code generation, but I do not understand why it is needed.
A common argument for using backpatching during intermediate code generation is as follows:
Suppose the intermediate code generated…
hengxin
- 9,671
- 3
- 37
- 75
0
votes
0 answers
Static two-issue RISC-V pipeline: how is this sd and blt data hazard handled?
I was following through this example (From the subheading Simple Multiple-Issue Code Scheduling in chapter 4.10 of
Computer Organization and Design RISC-V Edition by
Hennesy, Patterson), an example related to VLIWs:
How would this loop be scheduled…
albin
- 1
- 1
0
votes
1 answer
RISC-V execution model
I'm reading a text book on CPU architecture and I have something that confuses me: The text book defines 4 different instruction execution models in CPUs, Stack (where a CPU only has a stack and is able to perform operations on the first and second…
anisgh
- 11
- 1