← Back to context

Comment by Closi

1 year ago

Got it, so it's more about removing microcode.

The biggest divide is that no more than a single exception can occur in a RISC instruction, but you can have an indefinite number of page faults in something like an x86 rep mov.

  • That's not even true as you can get lots of exceptions for the same instruction. For example a load can all of these and more (but only one will be reported at a time): instruction fetch page fault, load misaligned, and load page fault.

    More characteristic are assumptions about side effects (none for integer, and cumulative flags for FP) and number of register file ports needed.