diff options
author | Chin <chin.bimbo@gmail.com> | 2015-01-04 19:59:34 +0100 |
---|---|---|
committer | chinhodado <chin.bimbo@gmail.com> | 2015-01-19 22:01:06 +0100 |
commit | fa8e6272c8c080b41a809eb064ab5ba6c8680b1e (patch) | |
tree | cde74447bf04d5293810043e74c8e5e767e4a892 /src/core/arm/skyeye_common/vfp/vfp.h | |
parent | Merge pull request #383 from zhuowei/shared_page (diff) | |
download | yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar.gz yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar.bz2 yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar.lz yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar.xz yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.tar.zst yuzu-fa8e6272c8c080b41a809eb064ab5ba6c8680b1e.zip |
Diffstat (limited to 'src/core/arm/skyeye_common/vfp/vfp.h')
-rw-r--r-- | src/core/arm/skyeye_common/vfp/vfp.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfp.h b/src/core/arm/skyeye_common/vfp/vfp.h index 539fb0131..5ff213e08 100644 --- a/src/core/arm/skyeye_common/vfp/vfp.h +++ b/src/core/arm/skyeye_common/vfp/vfp.h @@ -1,4 +1,4 @@ -/* +/* vfp/vfp.h - ARM VFPv3 emulation unit - vfp interface Copyright (C) 2003 Skyeye Develop Group for help please send mail to <skyeye-developer@lists.gro.clinux.org> @@ -21,15 +21,10 @@ #ifndef __VFP_H__ #define __VFP_H__ -#define DBG(...) //DEBUG_LOG(ARM11, __VA_ARGS__) - -#define vfpdebug //printf - #include "core/arm/skyeye_common/vfp/vfp_helper.h" /* for references to cdp SoftFloat functions */ -#define VFP_DEBUG_TRANSLATE DBG("in func %s, %x\n", __FUNCTION__, inst); -#define VFP_DEBUG_UNIMPLEMENTED(x) printf("in func %s, " #x " unimplemented\n", __FUNCTION__); exit(-1); -#define VFP_DEBUG_UNTESTED(x) printf("in func %s, " #x " untested\n", __FUNCTION__); +#define VFP_DEBUG_UNIMPLEMENTED(x) LOG_ERROR(Core_ARM11, "in func %s, " #x " unimplemented\n", __FUNCTION__); exit(-1); +#define VFP_DEBUG_UNTESTED(x) LOG_TRACE(Core_ARM11, "in func %s, " #x " untested\n", __FUNCTION__); #define CHECK_VFP_ENABLED #define CHECK_VFP_CDP_RET vfp_raise_exceptions(cpu, ret, inst_cream->instr, cpu->VFP[VFP_OFFSET(VFP_FPSCR)]); //if (ret == -1) {printf("VFP CDP FAILURE %x\n", inst_cream->instr); exit(-1);} |