]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-ppc: VSX Stage 4: Add xsdivsp
authorTom Musta <tommusta@gmail.com>
Wed, 15 Jan 2014 14:10:35 +0000 (08:10 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:35 +0000 (03:06 +0100)
commitb24d0b472b0d471e93ccc7fc7d4fd6ed30e7e434
treecd1a2bbc045d42502a17f38bcd610e0f8bdbf00c
parentab9408a2d11670d15b2692ca60646d8da8158d6f
target-ppc: VSX Stage 4: Add xsdivsp

This patch adds the VSX Scalar Divide Single Precision (xsdivsp)
instruction.

The existing VSX_DIV 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