Re: [PATCH for-7.0 v2] target/mips: Fix address space range declaration on n32

2022-03-28 Thread Philippe Mathieu-Daudé
On 28/3/22 05:59, WANG Xuerui wrote: This bug is probably lurking there for so long, I cannot even git-blame my way to the commit first introducing it. Anyway, because n32 is also TARGET_MIPS64, the address space range cannot be determined by looking at TARGET_MIPS64 alone. Fix this by only

[PATCH for-7.0 v2] target/mips: Fix address space range declaration on n32

2022-03-27 Thread WANG Xuerui
This bug is probably lurking there for so long, I cannot even git-blame my way to the commit first introducing it. Anyway, because n32 is also TARGET_MIPS64, the address space range cannot be determined by looking at TARGET_MIPS64 alone. Fix this by only declaring 48-bit address spaces for n64,