Re: [PATCH v2 00/25] misc: Use explicit endian LD/ST API

2024-10-07 Thread Richard Henderson
On 10/7/24 00:52, Pierre Muller wrote: While we have never supported rx or riscv in big-endian, but there's no reason that we can't, and those target/ patches make things harder. Since target/ will *always* have TARGET_BIG_ENDIAN available, I don't see that we're saving anything there.   Isn

Re: [PATCH v2 00/25] misc: Use explicit endian LD/ST API

2024-10-07 Thread Pierre Muller
Le 05/10/2024 à 03:39, Richard Henderson a écrit : On 10/4/24 09:30, Philippe Mathieu-Daudé wrote: Philippe Mathieu-Daudé (25): gdbstub/helpers: Have ldtul_p() definition use ldn_p() target/hexagon: Replace ldtul_p() -> ldl_p() target/alpha: Replace ldtul_p() -> ldq_p() target

Re: [PATCH v2 00/25] misc: Use explicit endian LD/ST API

2024-10-04 Thread Richard Henderson
On 10/4/24 09:30, Philippe Mathieu-Daudé wrote: Philippe Mathieu-Daudé (25): gdbstub/helpers: Have ldtul_p() definition use ldn_p() target/hexagon: Replace ldtul_p() -> ldl_p() target/alpha: Replace ldtul_p() -> ldq_p() target/s390x: Replace ldtul_p() -> ldq_p() gdbstub/helpers: In

Re: [PATCH v2 00/25] misc: Use explicit endian LD/ST API

2024-10-04 Thread Philippe Mathieu-Daudé
On 4/10/24 18:30, Philippe Mathieu-Daudé wrote: For targets (or HW) which are only built for a particular endianness, the generic LD/ST helpers are defined as the target endianness variant. For example, on big-endian targets, stl_p() is equivalent of stl_be_p(). This series replaces in bulk thes

[PATCH v2 00/25] misc: Use explicit endian LD/ST API

2024-10-04 Thread Philippe Mathieu-Daudé
For targets (or HW) which are only built for a particular endianness, the generic LD/ST helpers are defined as the target endianness variant. For example, on big-endian targets, stl_p() is equivalent of stl_be_p(). This series replaces in bulk these LD/ST calls. This is helpful for the single bin