Re: IRIX and 64bit registers

New Message Reply About this list Date view Thread view Subject view Author view

Eric Young (eay@cryptsoft.com)
Mon, 27 Apr 1998 01:51:36 +1000 (EST)


Feeback for those that are interested in the asnwer to the origional
question..

On Tue, 21 Apr 1998, Kriston J. Rehberg wrote:
> Whenever the unified version of Irix, (now known as version 6.5) is
> released, people (like me) will leave 5.3 behind for good. But you
> have to be careful; Irix 5.x (and maybe the new 6.5) can be made to
> run on systems older than R4000 (with 32-bit regs) and there might be
> more issues to worry about than just the OS version. I know I'm being
> too vague but SGI has been conspicuously vague about Irix 5.3, which
> is obviously because they want us all to upgrade -- and I've only paid
> attention to how the ABI changes affect C development (curious note:
> Cygnus and SGI finally added 64-bit ABI support to GCC only recently).

Ok, I've had the issue settled for me. For IRIX 5.x, the default 'as' command
does not recognise the mips3 instruction set (64 bit extensions).
When I switch on the -mips3 flag I get
as ERROR: as is not installed in /usr/bin/../lib64/cmplrs/as
gas -mips did not recognise the 'dli' instruction which was strange since
gcc -s -mips3 xyz.c generated them in the assember output.

So you can do it if you install 64 bit compilers. So in the interests of
keeping things idiot proof, I'll have to default to 32bit assember for
IRIX 5.x.

It is a bit of a pity, On a 180mhz R10000 (IRIX 6.x) I get
                512bit RSA 1024bit RSA 2048bit RSA
R10000-180
 32 bit C code 61.5 9.0 1.2
 64 bit C code 142.4 23.7 3.4 (using long long)
 32 bit asm 165.5 32.1 5.1 (mips1 instructions)
 64 bit asm 297.6 69.6 11.8
R4400-200 (IRIX 5.x)
 32 bit asm 142.6 29.4 4.8
Alpha 21164A-400
 64 bit asm 449.6 95.3 15.7
Pentium pro 200
 32 bit asm 142.6 29.4 4.8
(the results are the number of RSA private key operations/sec).

So the MIPS cpus are very good RSA engines if the OS/compilers let you compile
the stuff :-)

eric


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:16:58 ADT