On Thu, Mar 08, 2001 at 02:13:40PM -0700, Noel Gorelick wrote:
> In the config for openssl-0.9.6, any sun4m workstation running solaris2
> is assumed to be using a sparcv8 CPU. This is incorrect, and binaries
> compiled for v8 will not work on v7 machines.
>
> (All my SS1, 2, 5, 10 and 20 machines are v7 only.)
Are they really v7 only?
Even our SPARCclassics support the following native instruction sets:
sparcv8-fsmuld sparcv7 sparc
The same applies to our SparcStation 4 machines. On our SparcStation 10,
the list is:
sparcv8 sparcv8-fsmuld sparcv7 sparc
All of these machines run as 'sun4m' systems.
The only difference between sparcv8-fsmuld and sparcv8 is, according
to the isalist(5) manpage, that the former does not support the FSMULD
instruction in hardware. According to the manpage, sparcv7,
sparcv8-fsmuld and sparcv8 actually provide the same instruction set,
the difference being that some instructions may have to be emulated by
the kernel.
In contrast to this, you state that "binaries compiled for v8 will not
work on v7 machines." OpenSSL's crypto/bn/asm/sparcV8.S contains
integer integer multiplication instructions, which are not part of the
sparcv7 native set. Does 'make test' really fail on your machines?
--
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]