OSDN Git Service

target-ppc: VSX Stage 4: Add xsresp
authorTom Musta <tommusta@gmail.com>
Wed, 15 Jan 2014 14:10:36 +0000 (08:10 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:35 +0000 (03:06 +0100)
commit2c0c52ae620cf121a8b9084c7c1168d867564ee8
tree093b688d691b7874e305991d55a455fef63a39be
parentb24d0b472b0d471e93ccc7fc7d4fd6ed30e7e434
target-ppc: VSX Stage 4: Add xsresp

This patch adds the VSX Scalar Reciprocal Estimate Single Precision
(xsresp) instruction.

The existing VSX_RE macro is modified to support rounding of the
intermediate double precision result to single precision.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/fpu_helper.c
target-ppc/helper.h
target-ppc/translate.c