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

2022-10-28 Thread Palmer Dabbelt
On Fri, 28 Oct 2022 02:37:13 PDT (-0700), gcc-patches@gcc.gnu.org wrote: I guess we don't really care about RV32E here, but in case you add a guard for that? #ifdef __riscv_e #error "rv32e unsupported" #endif Ah, thanks. There's rv64e now too, but that's just an error message problem so prob

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

2022-10-28 Thread Kito Cheng via Gcc-patches
I guess we don't really care about RV32E here, but in case you add a guard for that? #ifdef __riscv_e #error "rv32e unsupported" #endif On Fri, Oct 28, 2022 at 4:39 PM Xiongchuan Tan via Gcc-patches wrote: > > Reviewed-by: Palmer Dabbelt > Acked-by: Palmer Dabbelt > > libitm/ChangeLog: > >

[PATCH v3] 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