[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] M68020 bn_asm



> -----Original Message-----
> From: owner-openssl-dev@openssl.org
> [mailto:owner-openssl-dev@openssl.org]On Behalf Of Richard Zidlicky

> On Tue, Feb 19, 2002 at 03:43:12PM -0800, Howard Chu wrote:
> > I just checked the 68060 user manual, you're right. That means the plain
> > 68000 code is needed on the 68060. (What a crock...)
>
> not the wordsize mul/div, probably best option for 68060 is to use
> the 32x32=32 instructions with 32x16 bit data.
>
> Bye
> Richard
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       openssl-dev@openssl.org
> Automated List Manager                           majordomo@openssl.org

Seems like I'm getting a lot of repeated emails from this list. But anyway,
I don't see how using the 32x32=32 instructions can save any steps. If you
use it with 32x16 data you are still going to get a 48 bit result and lose
the upper 16 bits of that. You will still need a total of 3 multiplies to
recover the lost bits and get the correct answer.
  -- Howard