[pypy-dev] PPC64 backend compile_framework_7_interior failure

Armin Rigo arigo at tunes.org
Sat Aug 25 23:19:38 CEST 2012


Hi all,

For reference, we found the answer on IRC:

On Sat, Aug 25, 2012 at 9:01 PM, David Edelsohn <dje.gcc at gmail.com> wrote:
> ; cond_call_gc_wb
>    0xfffb74e0e10:       lbz     r0,3(r30)
>    0xfffb74e0e14:       andi.   r0,r0,1
>    0xfffb74e0e18:       beq     0xfffb74e0e3c
>    0xfffb74e0e1c:       mr      r3,r30
>    0xfffb74e0e20:       lis     r0,0
>    0xfffb74e0e24:       ori     r0,r0,4095
>    0xfffb74e0e28:       rldicr  r0,r0,32,31
>    0xfffb74e0e2c:       oris    r0,r0,46926
>    0xfffb74e0e30:       nop
>    0xfffb74e0e34:       mtctr   r0
>    0xfffb74e0e38:       bctrl

This code mangles the content of r3 (sometimes), which is supposed to
be left intact.


A bientôt,

Armin.


More information about the pypy-dev mailing list