How come there is abs_i_i to put the absolute value of $2 into $1, but there's
no abs_i to convert $1 to absolute?

I can write more a efficient implementation of abs_i, because I don't need to
store the value back if it's already >=0. If the parrot assembler had the
option of writing out abs I$foo rather than abs I$foo, I$foo then things will
go slightly faster (and I suspect on all platforms, including interpreted
platforms)

Nicholas Clark
-- 
Even better than the real thing:        http://nms-cgi.sourceforge.net/

Reply via email to