Re: [PATCH 2/2] target/ppc: Bugfix FP when OE/UE are set

2022-08-05 Thread Daniel Henrique Barboza
On 8/5/22 14:17, Richard Henderson wrote: On 8/5/22 07:15, Lucas Mateus Castro(alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" When an overflow exception occurs and OE is set the intermediate result should be adjusted (by subtracting from the exponent) to avoid rounding to inf. The

Re: [PATCH 2/2] target/ppc: Bugfix FP when OE/UE are set

2022-08-05 Thread Richard Henderson
On 8/5/22 07:15, Lucas Mateus Castro(alqotel) wrote: From: "Lucas Mateus Castro (alqotel)" When an overflow exception occurs and OE is set the intermediate result should be adjusted (by subtracting from the exponent) to avoid rounding to inf. The same applies to an underflow exceptionion and

[PATCH 2/2] target/ppc: Bugfix FP when OE/UE are set

2022-08-05 Thread Lucas Mateus Castro(alqotel)
From: "Lucas Mateus Castro (alqotel)" When an overflow exception occurs and OE is set the intermediate result should be adjusted (by subtracting from the exponent) to avoid rounding to inf. The same applies to an underflow exceptionion and UE (but adding to the exponent). To do this set the