Re: [RFC V2] RISC-V : Support rv64 ilp32

2023-05-21 Thread Guo Ren via Gcc-patches
On Mon, May 22, 2023 at 10:51 AM Guo Ren wrote: > > On Fri, May 19, 2023 at 3:35 PM Kito Cheng wrote: > > > > I am concern about we didn't define POINTERS_EXTEND_UNSIGNED here, and > > also concern about the code model stuffs, I know currently Guo-Ren's > > implementation is rely on some MMU tric

Re: [RFC V2] RISC-V : Support rv64 ilp32

2023-05-21 Thread Guo Ren via Gcc-patches
On Fri, May 19, 2023 at 3:35 PM Kito Cheng wrote: > > I am concern about we didn't define POINTERS_EXTEND_UNSIGNED here, and > also concern about the code model stuffs, I know currently Guo-Ren's > implementation is rely on some MMU trick, but I am not sure does it > also applicable on embedded ap

Re: [RFC V2] RISC-V : Support rv64 ilp32

2023-05-19 Thread Liao Shihua
Thanks for your advice, Kito. 在 2023/5/19 15:35, Kito Cheng 写道: I am concern about we didn't define POINTERS_EXTEND_UNSIGNED here, and also concern about the code model stuffs, I know currently Guo-Ren's implementation is rely on some MMU trick, but I am not sure does it also applicable on embed

Re: [RFC V2] RISC-V : Support rv64 ilp32

2023-05-19 Thread Kito Cheng via Gcc-patches
I am concern about we didn't define POINTERS_EXTEND_UNSIGNED here, and also concern about the code model stuffs, I know currently Guo-Ren's implementation is rely on some MMU trick, but I am not sure does it also applicable on embedded applications. > diff --git a/gcc/config/riscv/linux.h b/gcc/c

[RFC V2] RISC-V : Support rv64 ilp32

2023-05-18 Thread Liao Shihua
This patch support ilp32 on rv64. It remove option check when -march=rv64* -mabi=ilp32. And replace XLEN_SPEC in LINK_SPEC by ABI_LEN_SPEC. In addition, it some machine descriptions. The series kernel support in this link. https://lore.kernel.org/linux-riscv/20230518131013.3366406-1-guo...@kern