Fixed some issues.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@133 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
Nach 2007-12-01 22:38:48 +00:00
parent 84688d6d23
commit df166a4990
1 changed files with 3 additions and 1 deletions

View File

@ -1564,7 +1564,9 @@ static INSN_REGPARM void arm121(u32 opcode)
LDRSTR_INIT(CALC_OFFSET, CALC_ADDRESS); \
LOAD_DATA; \
if (dest != base) \
{ \
WRITEBACK; \
} \
clockTicks = 0; \
if (dest == 15) { \
reg[15].I &= 0xFFFFFFFC; \
@ -2858,7 +2860,7 @@ static void tester(void) {
int i;for(i=0;i<op;i++)if(armInsnTable[op]==armInsnTable[i])break;if(i<op)continue;
for(i=0;i<16;i++)reg[i].I=0x3100000;
clock_t s=clock();for(i=0;i<10000000;i++)armInsnTable[op](0);clock_t e=clock();
fprintf(f,"arm%03X %6d\n",op,e-s);fflush(f);
fprintf(f,"arm%03X %6ld\n",op,e-s);fflush(f);
}fclose(f);
}