diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-24 06:41:10 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-24 06:41:10 +0100 |
commit | cc34462b71b31a6c75a746f18289bc53026ab612 (patch) | |
tree | 4e27cff3c827361ed76f80e0edba45cec916b459 /src/core/arm/skyeye_common/vfp/vfp.h | |
parent | Merge pull request #505 from lioncash/cl (diff) | |
parent | Cleanup: Logging in Core (diff) | |
download | yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar.gz yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar.bz2 yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar.lz yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar.xz yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.tar.zst yuzu-cc34462b71b31a6c75a746f18289bc53026ab612.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);} |