diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2017-01-06 11:44:50 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-01-31 10:10:14 +1100 |
commit | 9aeae8e16e6153aa2f28272dc75904c94f0e8cac (patch) | |
tree | 25bd49df7f202df381b9b69f9653145e3f95a2ea /target/ppc/internal.h | |
parent | f566c0474a9b9bbd9ed248607e4007e24d3358c0 (diff) |
target-ppc: Use correct precision for FPRF setting
Use correct FP precision when setting FPRF in FP conversion helpers
instead of always assuming float64 precision.
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/internal.h')
-rw-r--r-- | target/ppc/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ppc/internal.h b/target/ppc/internal.h index 1e27209fb1..187f024ad2 100644 --- a/target/ppc/internal.h +++ b/target/ppc/internal.h @@ -244,4 +244,5 @@ static inline void putVSR(int n, ppc_vsr_t *vsr, CPUPPCState *env) } void helper_compute_fprf_float16(CPUPPCState *env, float16 arg); +void helper_compute_fprf_float32(CPUPPCState *env, float32 arg); #endif /* PPC_INTERNAL_H */ |