At 8:04 AM +0000 9/5/02, Leopold Toetsch (via RT) wrote: >core.ops has currently: > >- obvious errors e.g. > -inline op mul (out PMC, out PMC, out PMC) { > >- wrong docu and minor typos e.g. > -=item B<loadlib>(in PMC, in STR) > >- and finally (as discussed in perl6-internals, "core ops ARGDIR"), >wrong ARGDIRs for PMCs:
We need to nail down what the directions mean. The IMCC and JIT folks are the ones that care here. I've been working on the assumption that an out means that the register in question may change value, so it's not appropriate on, say, add P1, P2, P3, since the destination *register* doesn't change, just the value of the PMC in the register. This is different than, say, add I1, I2, I3 where the value in the destination register does change. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk