Re: [PATCH v2] RISC-V: Add --with-cmodel configure option

2024-08-04 Thread Hau Hsu
Oh the Palmer's patch is here https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641172.html It doesn't mater who's patch get merged for me :) > On Aug 2, 2024, at 10:43 PM, Jeff Law wrote: > > > > On 8/1/24 11:11 PM, Hau Hsu wrote: >> Som

Re: [PATCH] RISC-V: Add --with-cmodel configure option

2024-08-01 Thread Hau Hsu
Oh sorry. Sent v2 and replaced compact code model with large code model. Hau Hsu > On Aug 2, 2024, at 12:32 PM, Kito Cheng wrote: > > compact code mode is our downstream stuffs, so...it should drop it from the > patch > > > Hau Hsu mailto:hau@sifive.com>>

[PATCH v2] RISC-V: Add --with-cmodel configure option

2024-08-01 Thread Hau Hsu
Sometimes we want to use default cmodel other than medlow. Add a GCC configure option for that. gcc/ChangeLog: * config.gcc (riscv*-*-*): Add support for --with-cmodel configure option. * config/riscv/riscv.h (TARGET_RISCV_DEFAULT_CMODEL): Define default cmodel. * configure: Regenerat

[PATCH] RISC-V: Add --with-cmodel configure option

2024-08-01 Thread Hau Hsu
Sometimes we want to use default cmodel other than medlow. Add a GCC configure option for that. gcc/ChangeLog: * config.gcc (riscv*-*-*): Add support for --with-cmodel configure option. * config/riscv/riscv.h (TARGET_RISCV_DEFAULT_CMODEL): Define default cmodel. * configure: Regenerat