WebRISC-V
WebRISC-V copied to clipboard
Support `%hi()` and `%lo()` as in GNU assembler
Support %hi() and %lo() as in GNU assembler:
lui a5,%hi(.LC0)
addi a0,a5,%lo(.LC0)
This would provide better compatibility with gcc-generated assembly code; e.g. https://godbolt.org/z/tTvkEE