Re: [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets

2020-08-05 Thread Thomas Huth
On 04/08/2020 19.46, Philippe Mathieu-Daudé wrote: > On 8/4/20 7:00 PM, Thomas Huth wrote: >> The code currently fails to compile on 32-bit big endian targets: > > s/target/host/ here and in subject? Yes, "host" is better, I'll change that. Thanks, Thomas

Re: [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets

2020-08-04 Thread Philippe Mathieu-Daudé
On 8/4/20 7:00 PM, Thomas Huth wrote: > The code currently fails to compile on 32-bit big endian targets: s/target/host/ here and in subject? > > target/riscv/vector_helper.c: In function 'vext_clear': > target/riscv/vector_helper.c:154:16: error: cast to pointer from integer > of different s

Re: [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets

2020-08-04 Thread Richard Henderson
On 8/4/20 10:00 AM, Thomas Huth wrote: > The code currently fails to compile on 32-bit big endian targets: > > target/riscv/vector_helper.c: In function 'vext_clear': > target/riscv/vector_helper.c:154:16: error: cast to pointer from integer > of different size [-Werror=int-to-pointer-cast] >

[PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets

2020-08-04 Thread Thomas Huth
The code currently fails to compile on 32-bit big endian targets: target/riscv/vector_helper.c: In function 'vext_clear': target/riscv/vector_helper.c:154:16: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] memset((void *)((uintptr_t)tail & ~(7ULL)),