On Mon, Nov 25, 2002 at 04:51:05PM +0100, Leopold Toetsch wrote:
> Gopal V wrote:
> 
> > /*
> > ** dotgnu.ops
> > */
> 
> Thanks applied,

I'm surprised that you did your regression tests longhand, rather than having
a data table in perl of input and expected output, and auto-generating parrot
code.

Is there any speed advantage in truncating by casting via a C type
[eg a = (int)(short) b]
rather than  and on a bitmask
[eg a = b & 0xFFFF]
?

We're going to have to do that latter to make it work on Crays anyway, so is
a conditional compile to chose between the two worth it?

Nicholas Clark

Reply via email to