Revision ac9eb073 target-ppc/op_helper_mem.h

b/target-ppc/op_helper_mem.h
8 8
                __func__, T0, T1, dst);
9 9
    }
10 10
    for (; T1 > 3; T1 -= 4, T0 += 4) {
11
        ugpr(dst++) = glue(_ldl, MEMSUFFIX)((void *)T0, ACCESS_INT);
11
        ugpr(dst++) = glue(ldl, MEMSUFFIX)((void *)T0);
12 12
        if (dst == 32)
13 13
            dst = 0;
14 14
    }
15 15
    if (T1 > 0) {
16 16
        tmp = 0;
17 17
        for (sh = 24; T1 > 0; T1--, T0++, sh -= 8) {
18
            tmp |= glue(_ldub, MEMSUFFIX)((void *)T0, ACCESS_INT) << sh;
18
            tmp |= glue(ldub, MEMSUFFIX)((void *)T0) << sh;
19 19
        }
20 20
        ugpr(dst) = tmp;
21 21
    }
......
30 30
                __func__, T0, T1, src);
31 31
    }
32 32
    for (; T1 > 3; T1 -= 4, T0 += 4) {
33
        glue(_stl, MEMSUFFIX)((void *)T0, ugpr(src++), ACCESS_INT);
33
        glue(stl, MEMSUFFIX)((void *)T0, ugpr(src++));
34 34
        if (src == 32)
35 35
            src = 0;
36 36
    }
37 37
    if (T1 > 0) {
38 38
        for (sh = 24; T1 > 0; T1--, T0++, sh -= 8)
39
            glue(_stb, MEMSUFFIX)((void *)T0, (ugpr(src) >> sh) & 0xFF,
40
                                  ACCESS_INT);
39
            glue(stb, MEMSUFFIX)((void *)T0, (ugpr(src) >> sh) & 0xFF);
41 40
    }
42 41
}
43 42

  

Also available in: Unified diff