3 ms·
> Arm and RISC-V are so similar that the compiler should take care of it. But the compiler (openjdk in this case) still needs to be ported, no? EDIT: I think
by dahfizz 7y ago
> Arm and RISC-V are so similar that the compiler should take care of it.
But the compiler (openjdk in this case) still needs to be ported, no?
EDIT: I think we are talking about two different things. The Java compiler (which emits Java bytecode) should be ported for convenience but that is not necessary. The compiler which compiles the actual JVM into an executable doesn't need to be ported, but it does need to have support added for emitting riscv machine code.