summaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorFrancisco José García García2016-08-14 18:28:25 +0200
committerFrancisco José García García2016-08-14 18:28:25 +0200
commit44b63e7d280c9b6a2f1ca4aa908c31e27adeea01 (patch)
tree0914eeabcf96df2cbe8f1d33fe76819b2af26616 /arm
parent177abe6a22c1ad95305587256b6c39baf9a25168 (diff)
downloadpicogpsp-44b63e7d280c9b6a2f1ca4aa908c31e27adeea01.tar.gz
picogpsp-44b63e7d280c9b6a2f1ca4aa908c31e27adeea01.tar.bz2
picogpsp-44b63e7d280c9b6a2f1ca4aa908c31e27adeea01.zip
(VITA) Dynarec WIP
Diffstat (limited to 'arm')
-rw-r--r--arm/arm_emit.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/arm/arm_emit.h b/arm/arm_emit.h
index bfd1c49..185caef 100644
--- a/arm/arm_emit.h
+++ b/arm/arm_emit.h
@@ -49,10 +49,8 @@ void execute_swi_thumb(u32 pc);
void execute_store_u32_safe(u32 address, u32 source);
#define write32(value) \
- VITA_RW_INIT(); \
*((u32 *)translation_ptr) = value; \
- translation_ptr += 4; \
- VITA_RW_END() \
+ translation_ptr += 4 \
#define arm_relative_offset(source, offset) \
(((((u32)offset - (u32)source) - 8) >> 2) & 0xFFFFFF) \
@@ -409,17 +407,13 @@ u32 arm_disect_imm_32bit(u32 imm, u32 *stores, u32 *rotations)
cycle_count = 0 \
#define generate_branch_patch_conditional(dest, offset) \
- VITA_RW_INIT(); \
*((u32 *)(dest)) = (*((u32 *)dest) & 0xFF000000) | \
- arm_relative_offset(dest, offset); \
- VITA_RW_END(); \
+ arm_relative_offset(dest, offset) \
#define generate_branch_patch_unconditional(dest, offset) \
- VITA_RW_INIT(); \
*((u32 *)(dest)) = (*((u32 *)dest) & 0xFF000000) | \
- arm_relative_offset(dest, offset); \
- VITA_RW_END(); \
+ arm_relative_offset(dest, offset) \
// A different function is called for idle updates because of the relative
// location of the embedded PC. The idle version could be optimized to put