Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6ca3ad1b
Commit
6ca3ad1b
authored
24 years ago
by
Joseph Myers
Committed by
Joseph Myers
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
invoke.texi: Fix typo.
* invoke.texi: Fix typo. * gcc.1: Regenerate. From-SVN: r40351
parent
11642c3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
13 deletions
+51
-13
gcc/ChangeLog
+5
-0
gcc/gcc.1
+45
-12
gcc/invoke.texi
+1
-1
No files found.
gcc/ChangeLog
View file @
6ca3ad1b
2001-03-09 Joseph S. Myers <jsm28@cam.ac.uk>
* invoke.texi: Fix typo.
* gcc.1: Regenerate.
2001-03-09 Zack Weinberg <zackw@stanford.edu>
* configure.in: Prune nonexistent files from build_xm_file,
...
...
This diff is collapsed.
Click to expand it.
gcc/gcc.1
View file @
6ca3ad1b
.\
" Automatically generated by Pod::Man version 1.1
.
\"
Mon Feb 19 19:32:03
2001
.
\"
Fri Mar 9 21:54:51
2001
.
\"
.
\"
Standard preamble:
.
\"
======================================================================
...
...
@@ -138,7 +138,7 @@
.
\"
======================================================================
.
\"
.IX Title "
GCC
1
"
.TH GCC 1 "
gcc
-
3.1
" "
2001
-
0
2
-
1
9
" "
GNU
"
.TH GCC 1 "
gcc
-
3.1
" "
2001
-
0
3
-
0
9
" "
GNU
"
.UC
.SH "
NAME
"
gcc \- \s-1GNU\s0 project C and \*(C+ compiler
...
...
@@ -280,8 +280,9 @@ in the following sections.
\&\-finline-functions \-finline-limit=
\f
R
\f
In
\f
R
\f
B\-fkeep-inline-functions
\&\-fkeep-static-consts \-fmove-all-movables
\&\-fno-default-inline \-fno-defer-pop
\&\-fno-function-cse \-fno-guess-branch-probability
\&\-fno-function-cse \-fno-guess-branch-probability
\&\-fno-inline \-fno-math-errno \-fno-peephole
\&\-funsafe-math-optimizations \-fno-trapping-math
\&\-fomit-frame-pointer \-foptimize-register-move
\&\-foptimize-sibling-calls \-freduce-all-givs
\&\-fregmove \-frename-registers
...
...
@@ -2819,11 +2820,12 @@ that alter the assembler output may be confused by the optimizations
performed when this option is not used.
.Ip "
\
fB
\-
ffast
-
math
\
fR
" 4
.IX Item "
-
ffast
-
math
"
This option allows \s-1GCC\s0 to violate some \s-1ISO\s0 or \s-1IEEE\s0 rules and/or
specifications in the interest of optimizing code for speed. For
example, it allows the compiler to assume arguments to the
\f
(CW\*(C`sqrt\*(C'
\f
R
function are non-negative numbers and that no floating-point values
are NaNs.
Sets
\f
B\-fno-math-errno
\f
R,
\f
B\-funsafe-math-optimizations
\f
R,
and
\f
B\-fno-trapping-math
\f
R.
.Sp
This option causes the preprocessor macro _\|_FAST_MATH_\|_ to be defined.
.Sp
This option causes the preprocessor macro _\|_FAST_MATH_\|_ to be defined.
.Sp
This option should never be turned on by any
\f
B\-O
\f
R option since
it can result in incorrect output for programs which depend on
...
...
@@ -2836,8 +2838,39 @@ with a single instruction, e.g., sqrt. A program that relies on
\&\s-1IEEE\s0 exceptions for math error handling may want to use this flag
for speed while maintaining \s-1IEEE\s0 arithmetic compatibility.
.Sp
This option should never be turned on by any
\f
B\-O
\f
R option since
it can result in incorrect output for programs which depend on
an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
math functions.
.Sp
The default is
\f
B\-fmath-errno
\f
R. The
\f
B\-ffast-math
\f
R option
sets
\f
B\-fno-math-errno
\f
R.
.Ip "
\
fB
\-
funsafe
-
math
-
optimizations
\
fR
" 4
.IX Item "
-
funsafe
-
math
-
optimizations
"
Allow optimizations for floating-point arithmetic that (a) assume
that arguments and results are valid and (b) may violate \s-1IEEE\s0 or
\&\s-1ANSI\s0 standards.
.Sp
This option should never be turned on by any
\f
B\-O
\f
R option since
it can result in incorrect output for programs which depend on
an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
math functions.
.Sp
The default is
\f
B\-fno-unsafe-math-optimizations
\f
R. The
\&
\f
B\-ffast-math
\f
R option sets
\f
B\-funsafe-math-optimizations
\f
R.
.Ip "
\
fB
\-
fno
-
trapping
-
math
\
fR
" 4
.IX Item "
-
fno
-
trapping
-
math
"
Compile code assuming that floating-point operations cannot generate
user-visible traps. Setting this option may allow faster code
if one relies on ``non-stop'' \s-1IEEE\s0 arithmetic, for example.
.Sp
This option should never be turned on by any
\f
B\-O
\f
R option since
it can result in incorrect output for programs which depend on
an exact implementation of \s-1IEEE\s0 or \s-1ISO\s0 rules/specifications for
math functions.
.Sp
The default is
\f
B\-ftrapping-math
\f
R. The
\f
B\-ffast-math
\f
R
option sets
\f
B\-fno-trapping-math
\f
R.
.PP
The following options control specific optimizations. The
\f
B\-O2
\f
R
option turns on all of these optimizations except
\f
B\-funroll-loops
\f
R
...
...
@@ -5851,14 +5884,14 @@ These \fB\-m\fR options are defined for the i386 family of computers:
Assume
the
defaults
for
the
machine
type
\
fIcpu
type
\
fR
when
scheduling
instructions
.
The
choices
for
\
fIcpu
type
\
fR
are
\
fBi386
\
fR
,
\&\
fBi486
\
fR
,
\
fBi586
\
fR
,
\
fBi686
\
fR
,
\
fBpentium
\
fR
,
\&\
fBpentiumpro
\
fR
,
\
fBk6
\
fR
,
and
\
fBathlon
\
fR
\&\
fBpentiumpro
\
fR
,
\
fB
pentium4
\
fR
,
\
fB
k6
\
fR
,
and
\
fBathlon
\
fR
.
Sp
While
picking
a
specific
\
fIcpu
type
\
fR
will
schedule
things
appropriately
for
that
particular
chip
,
the
compiler
will
not
generate
any
code
that
does
not
run
on
the
i386
without
the
\
fB
\-
march
=\
fR
\
fIcpu
type
\
fR
option
being
used
.
\
fBi586
\
fR
is
equivalent
to
\
fBpentium
\
fR
and
\
fBi686
\
fR
is
equivalent
to
\
fBpentiumpro
\
fR
.
\
fBk6
\
fR
is
the
\
s
-
1
AMD
\
s0
chip
as
opposed
to
the
Intel
ones
.
is
equivalent
to
\
fBpentiumpro
\
fR
.
\
fBk6
\
fR
and
\
fBathlon
\
fR
are
the
\&\
s
-
1
AMD
\
s0
chips
as
opposed
to
the
Intel
ones
.
.
Ip
"
\f
B\-march=
\f
R
\f
Icpu type
\f
R"
4
.
IX
Item
"-march=cpu type"
Generate
instructions
for
the
machine
type
\
fIcpu
type
\
fR
.
The
choices
...
...
@@ -5917,7 +5950,7 @@ Some 387 emulators do not support the \f(CW\*(C`sin\*(C'\fR, \f(CW\*(C`cos\*(C'\
\&\
f
(
CW
\*(
C
`
sqrt
\*(
C
'\fR instructions for the 387. Specify this option to avoid
generating those instructions. This option is the default on FreeBSD.
As of revision 2.6.1, these instructions are not generated unless you
also use the \fB\-f
fast-math
\fR switch.
also use the \fB\-f
unsafe-math-optimizations
\fR switch.
.Ip "\fB\-malign-double\fR" 4
.IX Item "-malign-double"
.PD 0
...
...
This diff is collapsed.
Click to expand it.
gcc/invoke.texi
View file @
6ca3ad1b
...
...
@@ -6573,7 +6573,7 @@ While picking a specific @var{cpu type} will schedule things appropriately
for
that
particular
chip
,
the
compiler
will
not
generate
any
code
that
does
not
run
on
the
i386
without
the
@
samp
{-
march
=@
var
{
cpu
type
}}
option
being
used
.
@
samp
{
i586
}
is
equivalent
to
@
samp
{
pentium
}
and
@
samp
{
i686
}
is
equivalent
to
@
samp
{
pentiumpro
}.
@
samp
{
k6
}
and
@
samp
{
athlon
}
s
re
the
is
equivalent
to
@
samp
{
pentiumpro
}.
@
samp
{
k6
}
and
@
samp
{
athlon
}
a
re
the
AMD
chips
as
opposed
to
the
Intel
ones
.
@
item
-
march
=@
var
{
cpu
type
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment