On Sat, 31 Jul 1999, Nicolas Pitre wrote:
> On Sat, 31 Jul 1999, Philip Blundell wrote:
>
> > >Any ideas how to trigger a smull from C code?
> >
> > Something like this:
> >
> > long long foo(long a, long b)
> > {
> > return (long long)a*(long long)b;
> > }
Shouldn't that be
long long foo(int a, int b)
{
return (long long)(a*b);
}
smull taking 32 bit values and giving a 64 out?
Dave
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on | Happy \
\ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex /
____________________________|___ http://www.treblig.demon.co.uk __/
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]