From a2804bf7010c2759668cfc36285a2b2a39bc695f Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 16 May 2014 20:04:13 -0400 Subject: - removed unused stubbed out code - fixed some compiler issues with xscale_copro when porting code to Windows - fixed some #include's --- src/core/arm/interpreter/vfp/vfp.h | 4 ++-- src/core/arm/interpreter/vfp/vfpdouble.cpp | 5 +++-- src/core/arm/interpreter/vfp/vfpsingle.cpp | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src/core/arm/interpreter/vfp') diff --git a/src/core/arm/interpreter/vfp/vfp.h b/src/core/arm/interpreter/vfp/vfp.h index e16076310..ba23bd6ec 100644 --- a/src/core/arm/interpreter/vfp/vfp.h +++ b/src/core/arm/interpreter/vfp/vfp.h @@ -84,8 +84,8 @@ void vfp_put_float(ARMul_State * state, int32_t val, unsigned int reg); uint64_t vfp_get_double(ARMul_State * state, unsigned int reg); void vfp_put_double(ARMul_State * state, uint64_t val, unsigned int reg); void vfp_raise_exceptions(ARMul_State * state, uint32_t exceptions, uint32_t inst, uint32_t fpscr); -extern uint32_t vfp_single_cpdo(ARMul_State * state, uint32_t inst, uint32_t fpscr); -extern uint32_t vfp_double_cpdo(ARMul_State * state, uint32_t inst, uint32_t fpscr); +u32 vfp_single_cpdo(ARMul_State* state, u32 inst, u32 fpscr); +u32 vfp_double_cpdo(ARMul_State* state, u32 inst, u32 fpscr); /* MRC */ inline void VMRS(ARMul_State * state, ARMword reg, ARMword Rt, ARMword *value); diff --git a/src/core/arm/interpreter/vfp/vfpdouble.cpp b/src/core/arm/interpreter/vfp/vfpdouble.cpp index 37fd28829..7e79ecafb 100644 --- a/src/core/arm/interpreter/vfp/vfpdouble.cpp +++ b/src/core/arm/interpreter/vfp/vfpdouble.cpp @@ -51,8 +51,9 @@ * =========================================================================== */ -#include "vfp_helper.h" -#include "asm_vfp.h" +#include "core/arm/interpreter/vfp/vfp.h" +#include "core/arm/interpreter/vfp/vfp_helper.h" +#include "core/arm/interpreter/vfp/asm_vfp.h" static struct vfp_double vfp_double_default_qnan = { //.exponent = 2047, diff --git a/src/core/arm/interpreter/vfp/vfpsingle.cpp b/src/core/arm/interpreter/vfp/vfpsingle.cpp index 24c0ded2b..34de030bf 100644 --- a/src/core/arm/interpreter/vfp/vfpsingle.cpp +++ b/src/core/arm/interpreter/vfp/vfpsingle.cpp @@ -51,8 +51,9 @@ * =========================================================================== */ -#include "vfp_helper.h" -#include "asm_vfp.h" +#include "core/arm/interpreter/vfp/vfp_helper.h" +#include "core/arm/interpreter/vfp/asm_vfp.h" +#include "core/arm/interpreter/vfp/vfp.h" static struct vfp_single vfp_single_default_qnan = { //.exponent = 255, -- cgit v1.2.3