Accelerator Manual (G06.27+, H06.04+, J06.03+)
Using the Accelerator
Accelerator Manual—527303-003
4-4
Accelerator Listings
The following examples show how these c89 flags are used:
•
c89 compiles the source file test1.c, generates symbolic information (the
Symbols region), and binds it into a program file named a.out:
c89 -g test1.c
•
c89 binds the object file test1.o into a program file named a.out and then
accelerates it into an accelerated file named a.out:
c89 -O test1.o
•
c89 compiles, binds, and accelerates the source test2.c and generates an
accelerated program file named test2:
c89 -O -o test2 test2.c
•
c89 compiles, binds, and accelerates the file test3.c and passes an Accelerator
ReturnValSize option to the Accelerator:
c89 -Waxcel = "ReturnValSize KEV 3" test3.c
You can also run the Accelerator from the OSS environment by using the OSS gtacl
command to run the AXCEL process. gtacl runs a process in the Guardian
environment from the OSS environment. You can specify either Guardian file names or
OSS pathnames to the AXCEL process. For example, the following gtacl command
accelerates the file test1 and generates an accelerated file named test2:
gtacl -p axcel "/usr/people/test1;/usr/people/test2"
If you run the Accelerator using gtacl, you must fully qualify pathnames. For more
information on using c89(1) or gtacl(1), refer to their respective reference pages
or the Open System Services Shell and Utilities Reference Manual.
Accelerator Listings
At each execution, the Accelerator produces a listing that reports on the acceleration it
has just performed. In the OSS environment, the Accelerator produces warnings and
error messages only, unless the -Wverbose flag is specified to the c89 utility. The
following example shows a sample Accelerator listing:
ACCELERATOR - T9276D30 - 31OCT94 - (Apr 30 1994 19:31:10)
Copyright HP Computers, Incorporated, 1988 - 2004
Options: COMMON UC PROCDEBUG NOTLINKABLE INHERITSCC_OFF
ATOMIC_OFF OVTRAP_ON TRUNCATEINDEXING_ON SAFEALIASINGRULES_ON
System name = \NUGGET
CPU number = 2, CPU type = Cyclone
Accelerated on 06/19/2004 at 14:05:25.
48 TNS instruction words
102 TNS/R instructions
4.25 inline code expansion factor
TNS File Name: $GOLD.MYFILES.OBJECT
Binder Region Present
Symbols Region Not Present