Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iec(1) [osf1 man page]

iec(1)							      General Commands Manual							    iec(1)

NAME
iec - Instruction Emulator Control SYNOPSIS
iec p | s [value] iec p | s [keyword] OPTIONS
The following options are used with the iec command: Sets or displays the current option setting for the parent process. Sets or displays the current option setting for the system. The following keywords are used with the p option: Resets the current option settings to the default settings for the parent process. Does not print the instruction emulation warning message for the parent process. Disables instruction emulation. Any programs that attempt to execute instructions that are not implemented in the host processor will receive the SIGILL (illegal instruction) signal. Prints the instruction emulation warning messages for all instances of instruction emulation. By default, a message is only printed for the first instance. The following keywords are used with the s option: Resets the current option settings to the default settings for the system. Does not print the instruction emulation warning message for the system. If value is not specified, the current option setting is displayed. You can specify value as either 0 (zero) or 1 (one). If value is 0 (zero), the option is turned on and messages are not displayed. If value is 1 (one), the option is turned off and messages are displayed. Keywords can be used singly or in any combination. However, the reset keyword overrides any other keywords that it is used with. Usually, the parent process is the shell. DESCRIPTION
Some processors in the Alpha processor family do not implement all of the instructions defined in the Alpha architecture. The operating system provides an instruction emulator that permits all programs written for the Alpha architecture to run, regardless of the Alpha pro- cessor being used. When the operating system encounters an instruction that is not implemented by the host processor, the default action is to emulate the instruction and print a message informing the user process that the emulation has occurred. By default, the operating system prints a mes- sage only for the first instance of emulation, although it continues to emulate any other non-implemented instructions that it encounters. The message has the form: "inst emulated pid=nnn <prog_name> va=0xvirtual_addrpc=0xpc_addr inst=0xactual_instr". Receiving this message tells you that your application will run at less than its optimal level of performance. You may wish to recompile your program to get bet- ter performance. For information on how to compile for a specific hardware platform, see the compiler manpage for the language you are using. In addition, the default action for the operating system is to not deliver a SIGILL signal to the parent process when an emulated instruc- tion is encountered. These defaults are satisfactory for most users, but some users require a different behavior and want to specify their own Instruction Emu- lator Control (IEC). The iec command enables or disables the display of "inst emulated" messages. The command sets or displays the IEC_NOPRINT, IEC_NOEMUL, and IEC_VERBOSE flags, as defined in setsysinfo(2). RESTRICTIONS
You must be superuser to set the system option. EXAMPLES
Both of the following commands disable messages for the parent process: # iec p 0 # iec p noprint Both of the following commands enable messages for the system: # iec s 1 # iec s reset The following command enables the printing of a message for each emulated instruction: # iec p verbose SEE ALSO
getsysinfo(2), setsysinfo(2) iec(1)

Check Out this Related Man Page

isainfo(1)                                                         User Commands                                                        isainfo(1)

NAME
isainfo - describe instruction set architectures SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]] DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system. Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device drivers. When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ- ments supported by the currently running system. OPTIONS
The following options are supported: -b Prints the number of bits in the address space of the native instruction set. -k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod- ules. -n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys- tem. -v When used with the- b, -k or -n options, prints more detailed information. -x Prints instruction extensions to the native ABI which are supported by the platform. EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform The following example invokes isainfo on a 32-bit x86 platform: example% isainfo -v 32-bit i386 applications example% isainfo -k i386 Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor: example% isainfo sparcv9 sparc example% isainfo -n sparcv9 example% isainfo -v 64-bit sparcv9 applications 32-bit sparc applications example% isainfo -vk 64-bit sparcv9 kernel modules Example 3: Invoking isainfo -x on an AMD Opteron CPU The following example invokes isainfo with the -x option on an AMD Opteron CPU: example% isainfo -x i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running. An error message is printed to stderr. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5) SunOS 5.10 20 Jul 2004 isainfo(1)
Man Page