[Stackless] Stackless 2.5 branch updated for Python 2.5.1c1

Richard Tew richard.m.tew at gmail.com
Mon Apr 16 10:47:53 CEST 2007


On 4/15/07, Hieu Hoang <hieu.d.hoang at gmail.com> wrote:
> On 4/16/07, Hieu Hoang <hieu.d.hoang at gmail.com> wrote:
> > Reading the switch_x64_masm.asm and switch_amd64_unix.h doesn't give
> > me any idea which registers to save. I added rdi rsi, in that order,
> > to REGS_TO_SAVE. Doesn't look better to me:
>
> Now I add rbx rdi rsi, it looks different:

Going by the .s file it is saving these registers out of the ones it
was specified to save:

  rbx, r12, r13, r14, r15

And it was saving this one as well as a side effect:

  rbp

It was not saving:

  rdx

How about trying to set REGS_TO_SAVE to the following to match
Kristjáns masm file:

#define REGS_TO_SAVE "rdi", "rsi", "rbp", "rbx", "r12", "r13", "r14",
"r15", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12",
"xmm13", "xmm14", "xmm15"

Let me know how it goes :-)

Thanks!
Richard.

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list