Although i already known about the isainfo(1) utility, i always welcome some very nice post as seen on the Blog O' Matty weblog which learn me about other ISA command counterparts: isalist(1), and optisa(1).
So, here are the corresponding outputs on a Sun Ultra 20 workstation:
$ isainfo -v
64-bit amd64 applications
sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8
tsc fpu
32-bit i386 applications
sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8
tsc fpu
$
$ isalist
amd64 pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
$
$ optisa `isalist`
amd64
Here are the name of the instruction set(s) used by the operating system kernel components, and those used by portable applications:
$ cat /etc/release
Solaris 10 11/06 s10x_u3wos_10 X86
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 14 November 2006
$
$ uname -a
$
SunOS unic 5.10 Generic_118855-33 i86pc i386 i86pc
$ isainfo -kv
64-bit amd64 kernel modules
$
$ isainfo -nv
64-bit amd64 applications
sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8
tsc fpu