My first impression is that it should be the same as Pmode, but I
admit it has more clear semantics, and would be useful when we have
ilp32 on rv64.
So LGTM
On Fri, Apr 28, 2023 at 2:16 PM Christoph Muellner
wrote:
>
> From: Christoph Müllner
>
> Define a Xmode macro that specifies the register
From: Christoph Müllner
Define a Xmode macro that specifies the registers size (XLEN)
similar to Pmode. This allows the backend code to write generic
RV32/RV64 C code (under certain circumstances).
gcc/ChangeLog:
* config/riscv/riscv.h (Xmode): New macro.
Signed-off-by: Christoph Mülln