Revision 71be0fc3 target-ppc/op_helper_mem.h
b/target-ppc/op_helper_mem.h | ||
---|---|---|
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 | 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 | 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 | 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); |
Also available in: Unified diff