On 01/07/2014 08:06 AM, Tom Musta wrote:
> The fri* series of instructions was introduced prior to ISA 2.06 and
> is supported on Power7 and Power8 hardware.  However, the instruction
> is still considered illegal in the P7 and P8 QEMU emulation models.
> This patch enables these instructions for the P7 and P8 machines.
> 
> Also, the existing helper is modified to correctly handle some of
> the boundary cases (NaNs and the inexact flag).
> 
> Signed-off-by: Tom Musta <tommu...@gmail.com>
> ---
> V4: frin changed to use "ties away" rounding mode per Richard Henderson's
> review.  Modified NaN handling.  Proper handling of stickiness of
> the inexact flag.  Added to P7+ model.
> 
>  target-ppc/fpu_helper.c     |   18 +++++++++++-------
>  target-ppc/translate_init.c |    3 +++
>  2 files changed, 14 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to