Re: [PATCH] RISC-V: Fix parsing of Zic* extensions

2024-04-29 Thread Christoph Müllner
On Mon, Apr 29, 2024 at 5:58 AM Kito Cheng wrote: > > OK for trunk, and my understanding is that flag isn't really used in > code gen yet, so it's not necessary to port to GCC 14 branch? Pushed to master. Since the riscv_zi_subext masks of the affected extensions are applied to higher bits of

Re: [PATCH] RISC-V: Fix parsing of Zic* extensions

2024-04-28 Thread Kito Cheng
OK for trunk, and my understanding is that flag isn't really used in code gen yet, so it's not necessary to port to GCC 14 branch? On Mon, Apr 29, 2024 at 7:05 AM Christoph Müllner wrote: > > The extension parsing table entries for a range of Zic* extensions > does not match the mask definition

[PATCH] RISC-V: Fix parsing of Zic* extensions

2024-04-28 Thread Christoph Müllner
The extension parsing table entries for a range of Zic* extensions does not match the mask definition in riscv.opt. This results in broken TARGET_ZIC* macros, because the values of riscv_zi_subext and riscv_zicmo_subext are set wrong. This patch fixes this by moving Zic64b into riscv_zicmo_subext