From bc6989b0752b601762499fc1f3a0771980fd88f5 Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 29 Oct 2014 22:25:54 -0400 Subject: ARM: Merge latest VFP fixes from 3dmoo team. --- src/core/arm/skyeye_common/vfp/vfp_helper.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/core/arm/skyeye_common/vfp/vfp_helper.h') diff --git a/src/core/arm/skyeye_common/vfp/vfp_helper.h b/src/core/arm/skyeye_common/vfp/vfp_helper.h index 5076e59f..f0896fc8 100644 --- a/src/core/arm/skyeye_common/vfp/vfp_helper.h +++ b/src/core/arm/skyeye_common/vfp/vfp_helper.h @@ -44,7 +44,7 @@ #define pr_info //printf #define pr_debug //printf -static u32 vfp_fls(int x); +static u32 fls(int x); #define do_div(n, base) {n/=base;} /* From vfpinstr.h */ @@ -502,7 +502,7 @@ struct op { u32 flags; }; -static u32 vfp_fls(int x) +static u32 fls(int x) { int r = 32; @@ -532,4 +532,9 @@ static u32 vfp_fls(int x) } +u32 vfp_double_normaliseroundintern(ARMul_State* state, struct vfp_double *vd, u32 fpscr, u32 exceptions, const char *func); +u32 vfp_double_multiply(struct vfp_double *vdd, struct vfp_double *vdn, struct vfp_double *vdm, u32 fpscr); +u32 vfp_double_add(struct vfp_double *vdd, struct vfp_double *vdn, struct vfp_double *vdm, u32 fpscr); +u32 vfp_double_fcvtsinterncutting(ARMul_State* state, int sd, struct vfp_double* dm, u32 fpscr); + #endif -- cgit v1.2.3