Commit 71be0fc3eb3f8ac523e1b1b2ae138a5c9a613dee
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,10 +3,10 @@ void glue(do_lsw, MEMSUFFIX) (int dst) | ||
3 | uint32_t tmp; | 3 | uint32_t tmp; |
4 | int sh; | 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 | for (; T1 > 3; T1 -= 4, T0 += 4) { | 10 | for (; T1 > 3; T1 -= 4, T0 += 4) { |
11 | ugpr(dst++) = glue(ldl, MEMSUFFIX)(T0); | 11 | ugpr(dst++) = glue(ldl, MEMSUFFIX)(T0); |
12 | if (dst == 32) | 12 | if (dst == 32) |
@@ -25,10 +25,10 @@ void glue(do_stsw, MEMSUFFIX) (int src) | @@ -25,10 +25,10 @@ void glue(do_stsw, MEMSUFFIX) (int src) | ||
25 | { | 25 | { |
26 | int sh; | 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 | for (; T1 > 3; T1 -= 4, T0 += 4) { | 32 | for (; T1 > 3; T1 -= 4, T0 += 4) { |
33 | glue(stl, MEMSUFFIX)(T0, ugpr(src++)); | 33 | glue(stl, MEMSUFFIX)(T0, ugpr(src++)); |
34 | if (src == 32) | 34 | if (src == 32) |
@@ -45,10 +45,10 @@ void glue(do_lsw_le, MEMSUFFIX) (int dst) | @@ -45,10 +45,10 @@ void glue(do_lsw_le, MEMSUFFIX) (int dst) | ||
45 | uint32_t tmp; | 45 | uint32_t tmp; |
46 | int sh; | 46 | int sh; |
47 | 47 | ||
48 | - if (loglevel > 0) { | 48 | +#if 0 |
49 | fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n", | 49 | fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n", |
50 | __func__, T0, T1, dst); | 50 | __func__, T0, T1, dst); |
51 | - } | 51 | +#endif |
52 | for (; T1 > 3; T1 -= 4, T0 += 4) { | 52 | for (; T1 > 3; T1 -= 4, T0 += 4) { |
53 | tmp = glue(ldl, MEMSUFFIX)(T0); | 53 | tmp = glue(ldl, MEMSUFFIX)(T0); |
54 | ugpr(dst++) = ((tmp & 0xFF000000) >> 24) | ((tmp & 0x00FF0000) >> 8) | | 54 | ugpr(dst++) = ((tmp & 0xFF000000) >> 24) | ((tmp & 0x00FF0000) >> 8) | |
@@ -70,10 +70,10 @@ void glue(do_stsw_le, MEMSUFFIX) (int src) | @@ -70,10 +70,10 @@ void glue(do_stsw_le, MEMSUFFIX) (int src) | ||
70 | uint32_t tmp; | 70 | uint32_t tmp; |
71 | int sh; | 71 | int sh; |
72 | 72 | ||
73 | - if (loglevel > 0) { | 73 | +#if 0 |
74 | fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n", | 74 | fprintf(logfile, "%s: addr=0x%08x count=%d reg=%d\n", |
75 | __func__, T0, T1, src); | 75 | __func__, T0, T1, src); |
76 | - } | 76 | +#endif |
77 | for (; T1 > 3; T1 -= 4, T0 += 4) { | 77 | for (; T1 > 3; T1 -= 4, T0 += 4) { |
78 | tmp = ((ugpr(src++) & 0xFF000000) >> 24); | 78 | tmp = ((ugpr(src++) & 0xFF000000) >> 24); |
79 | tmp |= ((ugpr(src++) & 0x00FF0000) >> 8); | 79 | tmp |= ((ugpr(src++) & 0x00FF0000) >> 8); |