SunVTS 6.0 Patch Set 3 Documentation Supplement for x86 Platforms
|
|
Floating Point Unit Test (fputest)
|
The fputest checks the functionality of the floating point unit in a Sun SPARC based CPU. The test verifies the functionality by various arithmetic operations. In addition, the fputest stresses the CPU with the use of benchmarks. Both single and double precision numbers are used for the operations.
Note - fputest does support x86 platforms on Solaris.
|
Note - Three benchmarks of fputest--cparanoia, kcdiv, and kcsqrt--have been ported over for x86 systems. The x86 version of fputest only uses the Double Precision operations for rounding, chopping, sticky bit, and so on.
|
When fputest is chosen in Exclusive test mode from the SunVTS graphical user interface, it may run multiple instances in parallel on different CPUs. The number of such instances that may be running in parallel at the same time is dynamically determined depending on system resources.
fputest Subtests
Instruction tests:
- FSR Register test
- Registers test
- NACK test
- Move Registers test
- Positive to Negative test
- Negative to Positive test
- Absolute test
- Single-Precision Integer to Floating Point test
- Double-Precision Integer to Floating Point test
- Single-Precision Floating Point to Integer test
- Double-Precision Floating Point to Integer test
- Single-Precision Round Toward Zero test
- Double-Precision Round Toward Zero test
- Single to Double-Precision Format Conversion test
- Double to Single-Precision Format Conversion test
- Single and Double-Precision Addition, Subtraction, Multiplication, Square-root, Division, and Compare tests
- Single and Double-Precision Compare and Exception if Unordered tests
- Branching and No Branching on Condition Instructions tests
- Single and Double-Precision Chaining tests
- Weitek Status tests
- Lock test
- Single and Double-Precision Datapath tests
- Timing (load) test
Benchmark tests:
- Lapack test
- Cparanoia test
- Kcsqrt test
- Kcdiv test
- Clorenz test
- Cvector test
fputest Options
To reach the dialog box below, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system may not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.
FIGURE 6-1 fputest Test Parameter Options Dialog Box
Note - It is not advisable to use the Processor Affinity option for this test. Doing so reduces the effectiveness of the test.
|
fputest Test Modes
TABLE 6-1 fputest Supported Test Modes
Test Mode
|
Description
|
Connection
|
Includes all the instruction tests.
|
Functional
|
Performs all the instruction tests and all the benchmark tests.
|
Exclusive
|
Performs several fpu benchmark tests.
|
Online
|
Supported
|
fputest Command-Line Syntax
/opt/SUNWvts/bin/fputest [-scruvdtlxnf] [-p n] [-i n] [-w n] [-o dev=cpu-unitN]
Note - Options -s, -p, -i, and -w are not applicable when tests are invoked from the command line.
|
TABLE 6-2 fputest Command-Line Syntax
Argument
|
Description
|
-s
|
Enables SunVTS mode.
|
-c
|
Enables core file.
|
-r
|
Enables run on error.
|
-u
|
Enables list usage.
|
-v
|
Enables verbose mode.
|
-d
|
Enables debug mode.
|
-t
|
Enables test function trace mode.
|
-l
|
Enables online mode, and forks tests automatically against all online CPU IDs in the system.
|
-x
|
Enables exlusive mode, and forks tests automatically against all online CPU IDs in the system.
|
-n
|
Enables connectivity mode.
|
-f
|
Enables offline mode, and forks tests automatically against all online CPU IDs in the system.
|
-p n
|
n specifies the number of passes. The default is 1.
|
-i n
|
n specifies the number of total instances for the test. The default is 1.
|
-w n
|
n specifies which instance this test is assignes. The default is 0.
|
-o
|
Enables test specific command arguments.
|
dev=cpu-unitN
|
Specifies the CPU unit to be tested. N specifies the numeric ID of online CPU. This is not a required option.
|
Usage Examples:
Note - When using fputest specific arguments the -o AND dev options are required.
|
To execute exclusive fputest with verbose messages against CPU 72, use the following syntax:
# /opt/SUNWvts/bin/fputest -xvo dev=cpu-unit72
|
To execute functional fputest with verbose messages against CPU 3, use the following syntax:
# /opt/SUNWvts/bin/fputest -fvo dev=cpu-unit3
|
Note - 64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname, or the relative path to which you installed SunVTS. If a test is not present in this directory, then it might be available as a 32-bit test only. For more information, see 32-Bit and 64-Bit Tests.
|
SunVTS 6.0 Patch Set 3 Documentation Supplement for x86 Platforms
|
819-3776-10
|
|
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.