Search
lxdream.org :: lxdream/src/sh4/sh4stat.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4stat.c
changeset 673:44c579439d73
prev671:a530ea88eebd
next730:a0f02e769c2e
author nkeynes
date Sun May 25 21:01:55 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Count fpscr ops separately from other LDS/STS instructions
file annotate diff log raw
1.1 --- a/src/sh4/sh4stat.c Thu May 15 10:22:39 2008 +0000
1.2 +++ b/src/sh4/sh4stat.c Sun May 25 21:01:55 2008 +0000
1.3 @@ -98,7 +98,9 @@
1.4 "LDC Rm, *",
1.5 "LDC.L @Rm+, SR",
1.6 "LDC.L @Rm+, *",
1.7 +"LDS Rm, FPSCR",
1.8 "LDS Rm, *",
1.9 +"LDS.L @Rm+, FPSCR",
1.10 "LDS.L @Rm+, *",
1.11 "LDTLB",
1.12 "MAC.L @Rm+, @Rn+",
1.13 @@ -145,7 +147,9 @@
1.14 "STC *, Rn",
1.15 "STC.L SR, @-Rn",
1.16 "STC.L *, @-Rn",
1.17 +"STS FPSCR, Rn",
1.18 "STS *, Rn",
1.19 +"STS.L FPSCR, @-Rn",
1.20 "STS.L *, @-Rn",
1.21 "SUB Rm, Rn",
1.22 "SUBC Rm, Rn",
1.23 @@ -410,7 +414,7 @@
1.24 case 0x6:
1.25 { /* STS FPSCR, Rn */
1.26 uint32_t Rn = ((ir>>8)&0xF);
1.27 - sh4_stats[I_STS]++;
1.28 + sh4_stats[I_STSFPSCR]++;
1.29 }
1.30 break;
1.31 case 0xF:
1.32 @@ -756,7 +760,7 @@
1.33 case 0x6:
1.34 { /* STS.L FPSCR, @-Rn */
1.35 uint32_t Rn = ((ir>>8)&0xF);
1.36 - sh4_stats[I_STSM]++;
1.37 + sh4_stats[I_STSFPSCRM]++;
1.38 }
1.39 break;
1.40 case 0xF:
1.41 @@ -896,7 +900,7 @@
1.42 case 0x6:
1.43 { /* LDS.L @Rm+, FPSCR */
1.44 uint32_t Rm = ((ir>>8)&0xF);
1.45 - sh4_stats[I_LDSM]++;
1.46 + sh4_stats[I_LDSFPSCRM]++;
1.47 }
1.48 break;
1.49 case 0xF:
1.50 @@ -1042,7 +1046,7 @@
1.51 case 0x6:
1.52 { /* LDS Rm, FPSCR */
1.53 uint32_t Rm = ((ir>>8)&0xF);
1.54 - sh4_stats[I_LDS]++;
1.55 + sh4_stats[I_LDSFPSCR]++;
1.56 }
1.57 break;
1.58 case 0xF:
.