diff options
author | bunnei <bunneidev@gmail.com> | 2014-11-02 23:09:35 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-11-02 23:09:35 +0100 |
commit | 7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7 (patch) | |
tree | 0f27696d54072522a2402a441bc2b14a4fe0ceac /src/core/arm/skyeye_common/vfp/vfp_helper.h | |
parent | Merge pull request #181 from archshift/errf (diff) | |
parent | ARM: Merged additional ARMv6 instructions implemented by 3dmoo. (diff) | |
download | yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar.gz yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar.bz2 yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar.lz yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar.xz yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.tar.zst yuzu-7f9bcacdf74a1e8cd843362f07a0d97ddc3185f7.zip |
Diffstat (limited to 'src/core/arm/skyeye_common/vfp/vfp_helper.h')
-rw-r--r-- | src/core/arm/skyeye_common/vfp/vfp_helper.h | 9 |
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 5076e59f7..f0896fc87 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 |