diff options
| author | Paul A. Clarke | 2019-08-20 19:26:04 +0200 |
|---|---|---|
| committer | David Gibson | 2019-08-29 01:46:07 +0200 |
| commit | fa7d9cb9600ab100c318a1de3ed6f4b4fcbad506 (patch) | |
| tree | 451fe830671a4972272a9c1848150b89f7f9c6ef /replication.c | |
| parent | ppc: Fix xsmaddmdp and friends (diff) | |
| download | qemu-fa7d9cb9600ab100c318a1de3ed6f4b4fcbad506.tar.gz qemu-fa7d9cb9600ab100c318a1de3ed6f4b4fcbad506.tar.xz qemu-fa7d9cb9600ab100c318a1de3ed6f4b4fcbad506.zip | |
ppc: Fix xscvdpspn for SNAN
The xscvdpspn instruction implements a non-arithmetic conversion.
In particular, NaNs are not silenced and rounding is not performed.
Rewrite to match the pseudocode for ConvertDPtoSP_NS() in the
Power 3.0B manual.
Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
Message-Id: <1566321964-1447-1-git-send-email-pc@us.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[dwg: Replaced description with clearer version from rth]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'replication.c')
0 files changed, 0 insertions, 0 deletions
