Re: [PATCH v4] RISC-V: Libitm add RISC-V support.

2022-10-29 Thread Xiongchuan Tan via Gcc-patches
On Saturday, 29 October 2022 12:33:50 CST Jeff Law wrote: > > +#ifdef __riscv_e > > +# error "rv32e unsupported" > > +#endif > > error "rv32e and rv64e unsupported" would probably be a better error > here. But it's probably not a big deal. Fixed in v5. > Do you have commit access? If so, go

Re: [PATCH v4] RISC-V: Libitm add RISC-V support.

2022-10-28 Thread Jeff Law via Gcc-patches
On 10/28/22 06:34, Xiongchuan Tan via Gcc-patches wrote: Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt libitm/ChangeLog: * configure.tgt: Add riscv support. * config/riscv/asm.h: New file. * config/riscv/sjlj.S: New file. * config/riscv/target.h: N

[PATCH v4] RISC-V: Libitm add RISC-V support.

2022-10-28 Thread Xiongchuan Tan via Gcc-patches
Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt libitm/ChangeLog: * configure.tgt: Add riscv support. * config/riscv/asm.h: New file. * config/riscv/sjlj.S: New file. * config/riscv/target.h: New file. --- v2: Change HW_CACHELINE_SIZE to 64 (in accordance wi