[perl #58410] [TODO] Deprecate n_* variants of the math opcodes

Will Coleda via RT parrotbug-followup at parrotcode.org
Wed Dec 31 01:27:28 UTC 2008


On Thu Aug 28 00:03:51 2008, allison at perl.org wrote:
> Briefly discussed on the phone with Patrick, Jerry, and chromatic: The 
> versions of the math opcodes that modify an existing destination PMC 
> instead of creating a new destination PMC are not useful to HLLs, 
> because they make assumptions about assignment semantics that don't hold 
> true for all (or possibly even any) HLLs. Code generated from PCT takes 
> the result of the math op as a temporary result value, and then performs 
> a separate assignment operation to the HLL result variable, following 
> the HLLs semantics for assignment.
> 
> The plan is to make the regular variants (like 'add') create a new 
> destination PMC, and then deprecate the old n_* variants (like 'n_add').
> 
> Allison


Does this include n_not , n_bnot, and n_bnots ?

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list