aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
diff options
context:
space:
mode:
authordankcushions2016-04-22 15:10:35 +0100
committerdankcushions2016-04-22 15:10:35 +0100
commit163249087400935f084080127990bc762e83319c (patch)
tree93e9704ebb9395c4f6c7bab847d9df7abb005d3d /libpcsxcore/new_dynarec
parent4ed8f00a1221b15925117f1c7413b4640e6e7198 (diff)
parentcb4d282af668df3bdbd428be5a5ad26996cd0f4f (diff)
downloadpcsx_rearmed-163249087400935f084080127990bc762e83319c.tar.gz
pcsx_rearmed-163249087400935f084080127990bc762e83319c.tar.bz2
pcsx_rearmed-163249087400935f084080127990bc762e83319c.zip
Merge branch 'notaz-master'
Diffstat (limited to 'libpcsxcore/new_dynarec')
-rw-r--r--libpcsxcore/new_dynarec/linkage_arm.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/new_dynarec/linkage_arm.S b/libpcsxcore/new_dynarec/linkage_arm.S
index 50b577b..95af8b4 100644
--- a/libpcsxcore/new_dynarec/linkage_arm.S
+++ b/libpcsxcore/new_dynarec/linkage_arm.S
@@ -116,10 +116,10 @@ ptr_hash_table:
#endif
.macro load_varadr reg var
-#if defined(__ARM_ARCH_7A__) && !defined(__PIC__)
+#if defined(HAVE_ARMV7) && !defined(__PIC__)
movw \reg, #:lower16:\var
movt \reg, #:upper16:\var
-#elif defined(__ARM_ARCH_7A__) && defined(__MACH__)
+#elif defined(HAVE_ARMV7) && defined(__MACH__)
movw \reg, #:lower16:(\var-(1678f+8))
movt \reg, #:upper16:(\var-(1678f+8))
1678:
@@ -130,7 +130,7 @@ ptr_hash_table:
.endm
.macro load_varadr_ext reg var
-#if defined(__ARM_ARCH_7A__) && defined(__MACH__) && defined(__PIC__)
+#if defined(HAVE_ARMV7) && defined(__MACH__) && defined(__PIC__)
movw \reg, #:lower16:(ptr_\var-(1678f+8))
movt \reg, #:upper16:(ptr_\var-(1678f+8))
1678:
@@ -141,7 +141,7 @@ ptr_hash_table:
.endm
.macro mov_16 reg imm
-#ifdef __ARM_ARCH_7A__
+#ifdef HAVE_ARMV7
movw \reg, #\imm
#else
mov \reg, #(\imm & 0x00ff)
@@ -150,7 +150,7 @@ ptr_hash_table:
.endm
.macro mov_24 reg imm
-#ifdef __ARM_ARCH_7A__
+#ifdef HAVE_ARMV7
movw \reg, #(\imm & 0xffff)
movt \reg, #(\imm >> 16)
#else