Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-16 Thread Cédric Le Goater
On 11/10/21 18:29, Lucas Mateus Martins Araujo e Castro wrote: On 10/11/2021 03:56, Cédric Le Goater wrote: On 11/9/21 17:37, Daniel Henrique Barboza wrote: On 10/20/21 09:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-11 Thread Yonggang Luo
On Thu, Nov 11, 2021 at 4:42 AM BALATON Zoltan wrote: > > On Wed, 10 Nov 2021, Lucas Mateus Martins Araujo e Castro wrote: > > On 10/11/2021 05:19, Mark Cave-Ayland wrote: > >> On 20/10/2021 13:57, Lucas Mateus Castro (alqotel) wrote: > >>> From: "Lucas Mateus Castro (alqotel)" > >>> > >>> mtfsf,

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-10 Thread BALATON Zoltan
On Wed, 10 Nov 2021, Lucas Mateus Martins Araujo e Castro wrote: On 10/11/2021 05:19, Mark Cave-Ayland wrote: On 20/10/2021 13:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-10 Thread Lucas Mateus Martins Araujo e Castro
On 10/11/2021 05:19, Mark Cave-Ayland wrote: On 20/10/2021 13:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_status checks fp_status

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-10 Thread Lucas Mateus Martins Araujo e Castro
On 10/11/2021 03:56, Cédric Le Goater wrote: On 11/9/21 17:37, Daniel Henrique Barboza wrote: On 10/20/21 09:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-10 Thread Mark Cave-Ayland
On 20/10/2021 13:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_status checks fp_status and fp_status isn't updated based on FPSCR and

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-09 Thread Cédric Le Goater
On 11/9/21 17:37, Daniel Henrique Barboza wrote: On 10/20/21 09:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_status checks fp_statu

Re: [PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-11-09 Thread Daniel Henrique Barboza
On 10/20/21 09:57, Lucas Mateus Castro (alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_status checks fp_status and fp_status isn't updated based on FPSCR and

[PATCH 1/2] target/ppc: Fixed call to deferred exception

2021-10-20 Thread Lucas Mateus Castro (alqotel)
From: "Lucas Mateus Castro (alqotel)" mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_status checks fp_status and fp_status isn't updated based on FPSCR and since the value of fp_status is reset earlier in the instruct