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
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
Way, *way* behind, but here's my current thinking. Note that a good chunk of
these are as yet blank--I'm running out of caffeine right now. (More to come,
though, but I've waited too long as it is to type in and figure out some of this stuff)
Here's a list of python's opcodes and the translation t