petdance/scratch — Issue #297: Request for another overload to 'not' opcode.
Author: petdance
Created: 2011-11-01 05:30:38+00:00
State: open
Labels: Pri-normal, rfc, Sev-medium

The docs page:
http://docs.parrot.org/parrot/latest/html/src/ops/cmp.ops.html

...mentions 2 overloads for opcode 'not':

{{{
not(out INT, in INT)
not(out PMC, invar PMC)
}}}

It would be sweet to have another overload for opcode 'not'.

{{{
not(out INT, invar PMC)
}}}

This would avoid the need for boxing of the operands in many cases.
Trac ID #1645