← Back to context

Comment by pocksuppet

1 day ago

Sure can. Just change the encodings.

You thought RISC-V chips were compatible with each other beyond the basics? They're not. RISC-V is only a starting point for designing the ISA your chip will actually implement. Don't get me wrong - it's still beneficial that simple code works on many chips.

HP wrote a JIT to migrate old applications to their new hardware. So did Apple, twice. I don't know if IBM were the first but they've done it a few times as well for their mainframe hardware.

In HP's case, they tried running their JIT to translate from architecture B to architecture B and ended up with better performance than running it directly.