diff options
author | notaz | 2011-10-01 01:13:43 +0300 |
---|---|---|
committer | notaz | 2011-10-02 03:09:13 +0300 |
commit | d3f3bf09b5b3f1d8b025cc9dbd902eb157aae0b7 (patch) | |
tree | d25b4ece781d0dcd60fdaac68636043e9fdffade /libpcsxcore | |
parent | 0c2ca3ba2ca8a191fc3f6d9782dc2420537b1964 (diff) | |
download | pcsx_rearmed-d3f3bf09b5b3f1d8b025cc9dbd902eb157aae0b7.tar.gz pcsx_rearmed-d3f3bf09b5b3f1d8b025cc9dbd902eb157aae0b7.tar.bz2 pcsx_rearmed-d3f3bf09b5b3f1d8b025cc9dbd902eb157aae0b7.zip |
yet more random armv5 tweaks
Diffstat (limited to 'libpcsxcore')
-rw-r--r-- | libpcsxcore/new_dynarec/assem_arm.h | 6 | ||||
-rw-r--r-- | libpcsxcore/new_dynarec/emu_if.c | 3 | ||||
-rw-r--r-- | libpcsxcore/new_dynarec/emu_if.h | 4 | ||||
-rw-r--r-- | libpcsxcore/new_dynarec/new_dynarec.c | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/libpcsxcore/new_dynarec/assem_arm.h b/libpcsxcore/new_dynarec/assem_arm.h index a289aa1..917d276 100644 --- a/libpcsxcore/new_dynarec/assem_arm.h +++ b/libpcsxcore/new_dynarec/assem_arm.h @@ -16,6 +16,12 @@ #define PCSX 1 #define RAM_SIZE 0x200000 +#ifndef __ARM_ARCH_7A__ +#define ARMv5_ONLY +//#undef CORTEX_A8_BRANCH_PREDICTION_HACK +//#undef USE_MINI_HT +#endif + #ifdef FORCE32 #define REG_SHIFT 2 #else diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index 39bbf2a..02433f1 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -201,6 +201,9 @@ static int ari64_init() gte_handlers[0x12] = gte_handlers_nf[0x12] = gteMVMVA_neon; #endif #endif +#ifdef DRC_DBG + memcpy(gte_handlers_nf, gte_handlers, sizeof(gte_handlers_nf)); +#endif psxH_ptr = psxH; return 0; diff --git a/libpcsxcore/new_dynarec/emu_if.h b/libpcsxcore/new_dynarec/emu_if.h index 88749be..7f625a7 100644 --- a/libpcsxcore/new_dynarec/emu_if.h +++ b/libpcsxcore/new_dynarec/emu_if.h @@ -1,10 +1,6 @@ #include "new_dynarec.h" #include "../r3000a.h" -#ifndef __ARM_ARCH_7A__ -#define ARMv5_ONLY -#endif - extern char invalid_code[0x100000]; /* weird stuff */ diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 716b1d4..cbc289e 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -8601,7 +8601,7 @@ int new_recompile_block(int addr) case 0x04: gte_rt[i]=1ll<<gr; break; // MTC2 case 0x02: gte_rs[i]=1ll<<(gr+32); // CFC2 if(gr==31&&!gte_reads_flags) { - printf("gte flag read encountered @%08x\n",addr + i*4); + assem_debug("gte flag read encountered @%08x\n",addr + i*4); gte_reads_flags=1; } break; |