summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common/vfp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-01-30 21:58:45 +0100
committerLioncash <mathew1800@gmail.com>2015-01-30 22:17:02 +0100
commitfc1a9e35fb995275176b49ff3a3250d1f29226ca (patch)
tree26886b13f82e99756569290c5571322b6775a5a6 /src/core/arm/skyeye_common/vfp
parentarm: Get rid of armcpu.h and skyeye_types.h (diff)
downloadyuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar.gz
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar.bz2
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar.lz
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar.xz
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.tar.zst
yuzu-fc1a9e35fb995275176b49ff3a3250d1f29226ca.zip
Diffstat (limited to 'src/core/arm/skyeye_common/vfp')
-rw-r--r--src/core/arm/skyeye_common/vfp/asm_vfp.h2
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp.h5
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp_helper.h5
3 files changed, 4 insertions, 8 deletions
diff --git a/src/core/arm/skyeye_common/vfp/asm_vfp.h b/src/core/arm/skyeye_common/vfp/asm_vfp.h
index f4ab34fd4..e113eaf29 100644
--- a/src/core/arm/skyeye_common/vfp/asm_vfp.h
+++ b/src/core/arm/skyeye_common/vfp/asm_vfp.h
@@ -5,6 +5,8 @@
* First, the standard VFP set.
*/
+#pragma once
+
#define FPSID cr0
#define FPSCR cr1
#define MVFR1 cr6
diff --git a/src/core/arm/skyeye_common/vfp/vfp.h b/src/core/arm/skyeye_common/vfp/vfp.h
index 5ff213e08..09c7520db 100644
--- a/src/core/arm/skyeye_common/vfp/vfp.h
+++ b/src/core/arm/skyeye_common/vfp/vfp.h
@@ -18,8 +18,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef __VFP_H__
-#define __VFP_H__
+#pragma once
#include "core/arm/skyeye_common/vfp/vfp_helper.h" /* for references to cdp SoftFloat functions */
@@ -109,5 +108,3 @@ int VLDR(ARMul_State * state, int type, ARMword instr, ARMword value);
#ifdef __cplusplus
}
#endif
-
-#endif
diff --git a/src/core/arm/skyeye_common/vfp/vfp_helper.h b/src/core/arm/skyeye_common/vfp/vfp_helper.h
index b1949603a..55e63f553 100644
--- a/src/core/arm/skyeye_common/vfp/vfp_helper.h
+++ b/src/core/arm/skyeye_common/vfp/vfp_helper.h
@@ -30,8 +30,7 @@
* published by the Free Software Foundation.
*/
-#ifndef __VFP_HELPER_H__
-#define __VFP_HELPER_H__
+#pragma once
/* Custom edit */
@@ -536,5 +535,3 @@ u32 vfp_double_normaliseroundintern(ARMul_State* state, struct vfp_double *vd, u
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