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
8b3686ed
Commit
8b3686ed
authored
Apr 05, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r688
parent
2aa8f23f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
152 additions
and
24 deletions
+152
-24
gcc/cse.c
+134
-24
gcc/flags.h
+12
-0
gcc/toplev.c
+6
-0
No files found.
gcc/cse.c
View file @
8b3686ed
This diff is collapsed.
Click to expand it.
gcc/flags.h
View file @
8b3686ed
...
...
@@ -192,6 +192,11 @@ extern int flag_unroll_all_loops;
extern
int
flag_cse_follow_jumps
;
/* Nonzero for -fcse-skip-blocks:
have cse follow a branch around a block. */
extern
int
flag_cse_skip_blocks
;
/* Nonzero for -fexpensive-optimizations:
perform miscellaneous relatively-expensive optimizations. */
extern
int
flag_expensive_optimizations
;
...
...
@@ -220,6 +225,13 @@ extern int flag_no_peephole;
extern
int
flag_volatile
;
/* Nonzero allows GCC to violate some IEEE or ANSI rules regarding math
operations in the interest of optimization. For example it allows
GCC to assume arguments to sqrt are nonnegative numbers, allowing
faster code for sqrt to be generated. */
extern
int
flag_fast_math
;
/* Nonzero means make functions that look like good inline candidates
go inline. */
...
...
gcc/toplev.c
View file @
8b3686ed
...
...
@@ -293,6 +293,10 @@ int flag_float_store = 0;
int
flag_cse_follow_jumps
;
/* Nonzero for -fcse-skip-blocks:
have cse follow a branch around a block. */
int
flag_cse_skip_blocks
;
/* Nonzero for -fexpensive-optimizations:
perform miscellaneous relatively-expensive optimizations. */
int
flag_expensive_optimizations
;
...
...
@@ -451,6 +455,7 @@ struct { char *string; int *variable; int on_value;} f_options[] =
{
"defer-pop"
,
&
flag_defer_pop
,
1
},
{
"omit-frame-pointer"
,
&
flag_omit_frame_pointer
,
1
},
{
"cse-follow-jumps"
,
&
flag_cse_follow_jumps
,
1
},
{
"cse-skip-blocks"
,
&
flag_cse_skip_blocks
,
1
},
{
"expensive-optimizations"
,
&
flag_expensive_optimizations
,
1
},
{
"thread-jumps"
,
&
flag_thread_jumps
,
1
},
{
"strength-reduce"
,
&
flag_strength_reduce
,
1
},
...
...
@@ -2593,6 +2598,7 @@ main (argc, argv, envp)
if
(
optimize
>=
2
)
{
flag_cse_follow_jumps
=
1
;
flag_cse_skip_blocks
=
1
;
flag_expensive_optimizations
=
1
;
flag_strength_reduce
=
1
;
flag_rerun_cse_after_loop
=
1
;
...
...
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