3 ms·
Because registers on x86 and RISC-V are different, you still need to have a register file to map those, no?
by miohtama 3y ago
Because registers on x86 and RISC-V are different, you still need to have a register file to map those, no?
- fwsgonzo 3y agoOnly for binary translation or just-in-time compilation (basically producing native code). If you're interpreting RISC-V you can just pretend the registers are an array of register-sized integers. Which is what they are.
- charcircuit 3y ago>registers are an array of register-sized integers A "register file" is the name of such an array.