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

2021-11-25 Thread BALATON Zoltan
On Thu, 25 Nov 2021, David Gibson wrote: On Thu, Nov 25, 2021 at 01:49:46AM +0100, BALATON Zoltan wrote: On Wed, 24 Nov 2021, Lucas Mateus Castro (alqotel) wrote: mtfsf, mtfsfi and mtfsb1 instructions call helper_float_check_status after updating the value of FPSCR, but helper_float_check_statu

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

2021-11-25 Thread Richard Henderson
On 11/24/21 6:25 PM, Lucas Mateus Castro (alqotel) wrote: 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 ear

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

2021-11-24 Thread David Gibson
On Thu, Nov 25, 2021 at 01:49:46AM +0100, BALATON Zoltan wrote: > On Wed, 24 Nov 2021, Lucas Mateus Castro (alqotel) wrote: > > 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_statu

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

2021-11-24 Thread BALATON Zoltan
On Wed, 24 Nov 2021, Lucas Mateus Castro (alqotel) wrote: 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 ear