Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/tendra5/src/installers/sparc/sunos/trans.1 – Rev 2

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
.\" 		 Crown Copyright (c) 1997
2
.\" 
3
.\" This TenDRA(r) Manual Page is subject to Copyright
4
.\" owned by the United Kingdom Secretary of State for Defence
5
.\" acting through the Defence Evaluation and Research Agency
6
.\" (DERA).  It is made available to Recipients with a
7
.\" royalty-free licence for its use, reproduction, transfer
8
.\" to other parties and amendment for any purpose not excluding
9
.\" product development provided that any such use et cetera
10
.\" shall be deemed to be acceptance of the following conditions:-
11
.\" 
12
.\"     (1) Its Recipients shall ensure that this Notice is
13
.\"     reproduced upon any copies or amended versions of it;
14
.\" 
15
.\"     (2) Any amended version of it shall be clearly marked to
16
.\"     show both the nature of and the organisation responsible
17
.\"     for the relevant amendment or amendments;
18
.\" 
19
.\"     (3) Its onward transfer from a recipient to another
20
.\"     party shall be deemed to be that party's acceptance of
21
.\"     these conditions;
22
.\" 
23
.\"     (4) DERA gives no warranty or assurance as to its
24
.\"     quality or suitability for any purpose and DERA accepts
25
.\"     no liability whatsoever in relation to any use to which
26
.\"     it may be put.
27
.\"
28
.TH sparctrans 1
29
.SH NAME
30
sparctrans \- SPARC TDF translator
31
.SH SYNOPSIS
32
\fBsparctrans\fR [ \fIoptions\fR ] \fIinput-file\fR \fIoutput-file\fR
33
.\" ----------------------------------------------------------------------
34
.SH DESCRIPTION
35
The code production portion of the TDF compiler is under the control of
36
a TDF translator, which translates a TDF capsule into an assembly source
37
file.  There are separate TDF translators for each target architecture.
38
This manual page describes the translators which produce SPARC assembly code.
39
There are two versions, one for SunOS, and one for Solaris
40
.PP
41
It is recommended that \fBsparctrans\fR should not be invoked
42
directly, but via the user interface \fItcc\fR(1).  The option
43
\fB-\fIopt\fR can be passed to \fBsparctrans\fR by passing the option 
44
\fB-Wt,-\fIopt\fR to \fItcc\fR(1).
45
.\" ----------------------------------------------------------------------
46
.SH OPTIONS
47
These options are common to most translators, although the defaults may vary.
48
\fIswitch\fR stands for either \fB0\fR, to switch an option off, or \fB1\fR,
49
to switch it on.
50
.\" ----------------------------------------------------------------------
51
.IP \fB-A\fIswitch\fR
52
This option determines whether \fBsparctrans\fR should inline calls to
53
\fIalloca\fR.  This is done by default.
54
.\" ----------------------------------------------------------------------
55
.IP \fB-B\fIswitch\fR
56
This option determines whether \fBsparctrans\fR should report floating point
57
constants which exceed their range.  This is done by default.
58
If this option is switched off such constants are replaced by infinity.
59
.\" ----------------------------------------------------------------------
60
.IP \fB-C\fIswitch\fR
61
This option determines whether \fBsparctrans\fR should apply the "constants
62
out of loops" optimisation.  This is done by default.
63
.\" ----------------------------------------------------------------------
64
.IP \fB-D\fIswitch\fR
65
This option determines whether \fBsparctrans\fR should produce Position
66
Independent Code (PIC).  This is not done by default.
67
.\" ----------------------------------------------------------------------
68
.IP \fB-E\fR
69
This option disables \fBsparctrans\fR's constant overflow checks.
70
.\" ----------------------------------------------------------------------
71
.IP \fB-F\fIswitch\fR
72
This option determines whether \fBsparctrans\fR should apply the "for all"
73
optimisation.  This is done by default.
74
.\" ----------------------------------------------------------------------
75
.IP \fB-H\fR
76
This option causes \fBsparctrans\fR to output debugging information in its
77
output file.  This will only work if the input TDF capsule contains
78
debugging information. The diagnostic format used is stabs for SunOS, and
79
stabs-in-elf for Solaris (both as used by the native compilers).
80
.\" ----------------------------------------------------------------------
81
.IP \fB-I\fIswitch\fR
82
This option determines whether \fBsparctrans\fR should apply the "inlining"
83
optimisation.  This is done by default.
84
.\" ----------------------------------------------------------------------
85
.IP \fB-K\fIstr\fR
86
Causes \fBsparctrans\fR to optimise its code for a particular processor
87
model, determined by \fIstr\fR. At present there are no valid values for
88
\fIstr\fR. 
89
.\" ----------------------------------------------------------------------
90
.IP \fB-M\fIswitch\fR
91
This option determines whether \fBsparctrans\fR preserves division by a
92
floating point constant rather than replacing it by multiplication by
93
the reciprocal of the constant.  While the latter produces faster code,
94
it may lead to rounding errors.  By default, division by constants is
95
preserved.
96
.\" ----------------------------------------------------------------------
97
.IP \fB-P\fR
98
This option causes \fBsparctrans\fR to output profiling information suitable
99
for use with \fIprof\fR(1) or a similar tool (see individual manual
100
pages for details). 
101
.\" ----------------------------------------------------------------------
102
.IP \fB-Q\fR
103
This option causes \fBsparctrans\fR to quit before processing its input
104
files.  This is particularly useful in conjunction with \fB-V\fR.
105
.\" ----------------------------------------------------------------------
106
.IP \fB-R\fIswitch\fR
107
This option determines whether \fBsparctrans\fR should immediately round every
108
floating point operation to its appropriate range.  This produces slower
109
code, but is necessary for strict IEEE conformance.  It is not 
110
done by default.
111
.\" ----------------------------------------------------------------------
112
.IP \fB-U\fIswitch\fR
113
This option determines whether \fBsparctrans\fR should apply the "loop
114
unrolling" optimisation.  This is done by default.
115
.\" ----------------------------------------------------------------------
116
.IP \fB-V\fR
117
This option causes \fBsparctrans\fR to print its version number and the
118
version of the TDF specification it supports.
119
.\" ----------------------------------------------------------------------
120
.IP \fB-W\fIswitch\fR
121
This option determines whether \fBsparctrans\fR makes string literals
122
writable. At present all string literals are writable, and this cannot be
123
altered. 
124
.\" ----------------------------------------------------------------------
125
.IP \fB-X\fR
126
This option disables all optimisations.  All \fBsparctrans\fR's optimisations
127
are believed to be valid, so that any error in optimisation is a genuine
128
bug.
129
.\" ----------------------------------------------------------------------
130
.IP \fB-Z\fR
131
This option causes \fBsparctrans\fR to print the version number of all the
132
TDF capsules it decodes.
133
.\" ----------------------------------------------------------------------
134
.SH SEE ALSO
135
\fIas\fR(1),\fIprof(1)\fR, \fItcc\fR(1).
136
.\" ----------------------------------------------------------------------