Re: Python bytecode notes, part one

2004-07-06 Thread brian wheeler
On Mon, 2004-07-05 at 19:27, Dan Sugalski wrote: UNARY_NEGATIVE: restore $Px; new $Py, Undef; $Py = $Px * -1; save $Py | $Px = -1 * $Px Wouldn't something this do what is desired? I'm just guessing, though. Brian

Re: Python bytecode notes, part one

2004-07-05 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > The translation for a number of the python ops depends on whether > we're going with runtime stack action or compile-time stack->register > translations. My experiments[1] show that the latter should be doable, the more because ... > BINARY_: >restor