Search
lxdream.org :: lxdream/src/sh4/sh4stat.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4stat.in
changeset 824:016cda9d0518
prev730:a0f02e769c2e
next905:4c17ebd9ef5e
author nkeynes
date Sun Aug 24 01:43:17 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Correct generated UNDEF() => UNDEF(ir) for consistency with UNIMP(ir)
file annotate diff log raw
1.1 --- a/src/sh4/sh4stat.in Tue Jul 08 12:28:10 2008 +0000
1.2 +++ b/src/sh4/sh4stat.in Sun Aug 24 01:43:17 2008 +0000
1.3 @@ -195,7 +195,7 @@
1.4 void sh4_stats_add_by_pc( uint32_t pc )
1.5 {
1.6 uint16_t ir = sh4_read_word(pc);
1.7 -#define UNDEF() sh4_stats[0]++
1.8 +#define UNDEF(ir) sh4_stats[0]++
1.9 %%
1.10 ADD Rm, Rn {: sh4_stats[I_ADD]++; :}
1.11 ADD #imm, Rn {: sh4_stats[I_ADDI]++; :}
.