Commit 71be0fc3eb3f8ac523e1b1b2ae138a5c9a613dee

Authored by bellard
1 parent 30aec876

removed dynamic test of traces


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1440 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 12 additions and 12 deletions
target-ppc/op_helper_mem.h
... ... @@ -3,10 +3,10 @@ void glue(do_lsw, MEMSUFFIX) (int dst)
3 3 uint32_t tmp;
4 4 int sh;
5 5  
6   - if (loglevel > 0) {
7   - fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
8   - __func__, T0, T1, dst);
9   - }
  6 +#if 0
  7 + fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
  8 + __func__, T0, T1, dst);
  9 +#endif
10 10 for (; T1 > 3; T1 -= 4, T0 += 4) {
11 11 ugpr(dst++) = glue(ldl, MEMSUFFIX)(T0);
12 12 if (dst == 32)
... ... @@ -25,10 +25,10 @@ void glue(do_stsw, MEMSUFFIX) (int src)
25 25 {
26 26 int sh;
27 27  
28   - if (loglevel > 0) {
29   - fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
30   - __func__, T0, T1, src);
31   - }
  28 +#if 0
  29 + fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
  30 + __func__, T0, T1, src);
  31 +#endif
32 32 for (; T1 > 3; T1 -= 4, T0 += 4) {
33 33 glue(stl, MEMSUFFIX)(T0, ugpr(src++));
34 34 if (src == 32)
... ... @@ -45,10 +45,10 @@ void glue(do_lsw_le, MEMSUFFIX) (int dst)
45 45 uint32_t tmp;
46 46 int sh;
47 47  
48   - if (loglevel > 0) {
  48 +#if 0
49 49 fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
50 50 __func__, T0, T1, dst);
51   - }
  51 +#endif
52 52 for (; T1 > 3; T1 -= 4, T0 += 4) {
53 53 tmp = glue(ldl, MEMSUFFIX)(T0);
54 54 ugpr(dst++) = ((tmp & 0xFF000000) >> 24) | ((tmp & 0x00FF0000) >> 8) |
... ... @@ -70,10 +70,10 @@ void glue(do_stsw_le, MEMSUFFIX) (int src)
70 70 uint32_t tmp;
71 71 int sh;
72 72  
73   - if (loglevel > 0) {
  73 +#if 0
74 74 fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n",
75 75 __func__, T0, T1, src);
76   - }
  76 +#endif
77 77 for (; T1 > 3; T1 -= 4, T0 += 4) {
78 78 tmp = ((ugpr(src++) & 0xFF000000) >> 24);
79 79 tmp |= ((ugpr(src++) & 0x00FF0000) >> 8);
... ...