aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/arm/skyeye_common/vfp/vfp_helper.h
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2014-10-29 22:25:54 -0400
committerGravatar bunnei <bunneidev@gmail.com>2014-11-02 01:04:41 -0500
commitbc6989b0752b601762499fc1f3a0771980fd88f5 (patch)
treed07786caf1858fb41812d6b38b9865260e2178f4 /src/core/arm/skyeye_common/vfp/vfp_helper.h
parent2ca12e7f3899a58e112ee8bb4e46d11ca61f7152 (diff)
ARM: Merge latest VFP fixes from 3dmoo team.
Diffstat (limited to 'src/core/arm/skyeye_common/vfp/vfp_helper.h')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp_helper.h9
1 files changed, 7 insertions, 2 deletions
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