Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-21 Thread Philippe Mathieu-Daudé
On 21/3/23 10:23, Jiaxun Yang wrote: 2023年3月15日 08:18,Philippe Mathieu-Daudé 写道: On 11/3/23 13:39, Jiaxun Yang wrote: 2023年3月9日 12:32,Philippe Mathieu-Daudé 写道: On 11/2/23 18:34, Jiaxun Yang wrote: Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for guest. However as per

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-21 Thread Jiaxun Yang
> 2023年3月15日 08:18,Philippe Mathieu-Daudé 写道: > > On 11/3/23 13:39, Jiaxun Yang wrote: >>> 2023年3月9日 12:32,Philippe Mathieu-Daudé 写道: >>> >>> Hi Jiaxun, >>> >>> On 11/2/23 18:34, Jiaxun Yang wrote: Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for guest.

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-15 Thread Philippe Mathieu-Daudé
On 11/3/23 13:39, Jiaxun Yang wrote: 2023年3月9日 12:32,Philippe Mathieu-Daudé 写道: Hi Jiaxun, On 11/2/23 18:34, Jiaxun Yang wrote: Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for guest. However as per MIPS arch spec this bit can never be writable. This cause NaN2008

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-11 Thread Jiaxun Yang
> 2023年3月9日 12:32,Philippe Mathieu-Daudé 写道: > > Hi Jiaxun, > > On 11/2/23 18:34, Jiaxun Yang wrote: >> Previously switchable NaN2008 requires fcsr31.nan2008 to be writable >> for guest. However as per MIPS arch spec this bit can never be writable. >> This cause NaN2008 ELF to be rejected by

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-09 Thread Philippe Mathieu-Daudé
Hi Jiaxun, On 11/2/23 18:34, Jiaxun Yang wrote: Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for guest. However as per MIPS arch spec this bit can never be writable. This cause NaN2008 ELF to be rejected by QEMU. NaN2008 can be enabled on R2~R5 processors, just make it

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-03-07 Thread Laurent Vivier
Phil (or someone else that knows mips), could you review? With one review I will apply to my linux-user branch. Thanks, Laurent Le 22/02/2023 à 11:28, Jiaxun Yang a écrit : Ping? 2023年2月11日 17:34,Jiaxun Yang 写道: Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for

Re: [PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-02-22 Thread Jiaxun Yang
Ping? > 2023年2月11日 17:34,Jiaxun Yang 写道: > > Previously switchable NaN2008 requires fcsr31.nan2008 to be writable > for guest. However as per MIPS arch spec this bit can never be writable. > This cause NaN2008 ELF to be rejected by QEMU. > > NaN2008 can be enabled on R2~R5 processors, just

[PATCH] linux-user/mips: Low down switchable NaN2008 requirement

2023-02-11 Thread Jiaxun Yang
Previously switchable NaN2008 requires fcsr31.nan2008 to be writable for guest. However as per MIPS arch spec this bit can never be writable. This cause NaN2008 ELF to be rejected by QEMU. NaN2008 can be enabled on R2~R5 processors, just make it available unconditionally. Signed-off-by: Jiaxun