Re: [PATCH V16 2/6] target/mips: Add unaligned access support for MIPS64R6 and Loongson-3

2020-11-03 Thread Philippe Mathieu-Daudé
On 10/30/20 11:25 AM, Huacai Chen wrote: > MIPSR6 (not only MIPS32R6) processors support unaligned access in > hardware, so set MO_UNALN in their default_tcg_memop_mask. Btw, new > Loongson-3 (such as Loongson-3A4000) also support unaligned access, > since both old and new Loongson-3 use the same b

[PATCH V16 2/6] target/mips: Add unaligned access support for MIPS64R6 and Loongson-3

2020-10-30 Thread Huacai Chen
MIPSR6 (not only MIPS32R6) processors support unaligned access in hardware, so set MO_UNALN in their default_tcg_memop_mask. Btw, new Loongson-3 (such as Loongson-3A4000) also support unaligned access, since both old and new Loongson-3 use the same binaries, we can simply set MO_UNALN for all Loong