[Stackless] Ported stackless to AMD64
tismer at stackless.com
Fri Apr 2 15:55:53 CEST 2004
Hye-Shik Chang wrote:
> Hi there.
> I ported the stackless context switcher to amd64 and it seems to
> % ./python -S
> Python 2.3.3 Stackless 3.0 040224 (#1, Apr 2 2004, 10:46:12)
> [GCC 3.3.3 [FreeBSD] 20031106] on freebsd5
> ('FreeBSD', 'sledge.freebsd.org', '5.2-CURRENT', 'FreeBSD 5.2-CURRENT #206: Thu Apr 1 10:00:41 PST 2004 kensmith at sledge.freebsd.org:/h/src/sys/amd64/compile/SLEDGE', 'amd64')
> % ./python Stackless/test/tasktest.py|tail -2
> main done.
> % ./python Stackless/test/chantest.py|tail -2
> dinky got: 42
> dinky says bye
> But, I didn't test it any other OSes other than FreeBSD.
> The patch is attached. And you may notice that I changed too much
> than other portings. Unfortunately amd64's register doesn't fit in
> int type. So, I changed variable types that I found as address
> keepers to SLP_REG_TYPE and defined it on both of Stackless/stackless.h
> and Stackless/stackless_impl.h. But I think the duplicating isn't
> so neat so please fix it to conform the Stackless style. :)
Hey, this is phantastic!
I'm happy to fold this into Stackless, and of course
it makes sense to have that REG type.
Would you like to become a developer? I can give you
an account and CVS write access if you like.
cheers - chris
Christian Tismer :^) <mailto:tismer at stackless.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34 home +49 30 802 86 56 mobile +49 173 24 18 776
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
Stackless mailing list
Stackless at stackless.com
More information about the Stackless