xref: /titanic_44/usr/src/man/man1/optisa.1 (revision 6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4)
te
Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
OPTISA 1 "Jul 25, 1997"
NAME
optisa - determine which variant instruction set is optimal to use
SYNOPSIS

optisa instruction_set...
DESCRIPTION

optisa prints which instruction_set out of the ones specified in the command will perform best on this machine. In this case, ``best'' is defined by the order in which instruction set names are returned by isalist(1). Possible values for instruction_set are given in isalist(5).

EXIT STATUS

The following exit values are returned: 0

One of the instruction_set values you specified is printed by this command.

1

There is no output; that is, this machine cannot use any instruction_set that you specified with the optisa command.

SEE ALSO

isalist(1), uname(1), attributes(5), isalist(5)

NOTES

optisa is preferable to uname -p or uname -m (see uname(1)) in determining which of several binary versions of a given program should be used on the given machine.