I maybe the last person left on Earth with a machine old enough to notice this, but...
It appears that code generated by the Studio 12.3 compiler on Solaris/x86 requires SSE2 instructions REGARDLESS of -xarch setting to the contrary.
See sample runs below.
Does anybody have a work around that will allow me to use SS12.3 compilers?
This problem did not occur with the SS12.2 compilers (use of which is my only work around at the moment).
-Paul
$ uname -a
SunOS cloon 5.10 Generic_142901-03 i86pc i386 i86pc
$ /usr/sbin/prtdiag | grep Processor
==== Processor Sockets ====================================
Intel Pentium III Processor PGA 370
$ cat hello.f
program hello
print *, "Hello World!"
end program hello
$ f77 -V
NOTICE: Invoking /usr/local/solarisstudio12.3/bin/f90 -f77 -ftrap=%none -V
f90: Sun Fortran 95 8.6 SunOS_i386 2011/11/16
$ f77 -xarch=generic hello.f && ./a.out
NOTICE: Invoking /usr/local/solarisstudio12.3/bin/f90 -f77 -ftrap=%none -xarch=generic hello.f
hello.f:
MAIN hello:
ld.so.1: a.out: fatal: /usr/local/solarisstudio12.3/lib/libfsu.so.1: hardware capability unsupported: 0x1000 [ SSE2 ]
Killed
$ f77 -xarch=pentium_pro hello.f && ./a.out
NOTICE: Invoking /usr/local/solarisstudio12.3/bin/f90 -f77 -ftrap=%none -xarch=pentium_pro hello.f
hello.f:
MAIN hello:
ld.so.1: a.out: fatal: /usr/local/solarisstudio12.3/lib/libfsu.so.1: hardware capability unsupported: 0x1000 [ SSE2 ]
Killed
$ f77 -xarch=i386 hello.f && ./a.out
NOTICE: Invoking /usr/local/solarisstudio12.3/bin/f90 -f77 -ftrap=%none -xarch=i386 hello.f
f90: Warning: illegal use of -xarch option, illegal value ignored: i386
hello.f:
MAIN hello:
ld.so.1: a.out: fatal: /usr/local/solarisstudio12.3/lib/libfsu.so.1: hardware capability unsupported: 0x1000 [ SSE2 ]
Killed