Yang Liu

Results 155 comments of Yang Liu

Hi @rui314, is it possible for this to be merged?

It seems that C.JAL is an RV32IC-only instruction, so this optimization may not work with RV64.

Yes, C.ADDIW is an RV64-only instruction, they share the same opcode. Copied from the Spec: > C.JAL is an RV32C-only instruction that performs the same operation as C.J, but additionally...

Hi Rui, I would like to implement this but it may take some time as I am not familiar with the ELF TLS model.

Firstly, I'm trying to open all the `tls-*` tests for RV32 and RV64 and everything works fine except for one issue. In [tls-gd.sh](https://github.com/rui314/mold/blob/main/test/elf/tls-gd.sh), in the end, we are trying to...

I think this is done since we already handled the Thread-pointer Relaxation, right?

Oh, seems they're gonna add this mechanism after spec 1.0 is released, so I think I'll just wait till that happens.

Here is an example: https://github.com/ksco/chibicc-riscv/blob/main/Makefile#L18-L24