WebRISC-V icon indicating copy to clipboard operation
WebRISC-V copied to clipboard

Support `%hi()` and `%lo()` as in GNU assembler

Open tmcintos opened this issue 5 years ago • 0 comments

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

tmcintos avatar May 17 '20 19:05 tmcintos