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
33ab8de0
Commit
33ab8de0
authored
26 years ago
by
Richard Henderson
Committed by
Richard Henderson
26 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c (reload_cse_regs): Call bzero instead of looping.
From-SVN: r20530
parent
bf20f341
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gcc/ChangeLog
+4
-0
gcc/reload1.c
+2
-4
No files found.
gcc/ChangeLog
View file @
33ab8de0
Tue Jun 16 22:58:40 1998 Richard Henderson <rth@cygnus.com>
* reload1.c (reload_cse_regs): Call bzero instead of looping.
Tue Jun 16 18:30:35 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (stripattributes): Prepend '*' to the section name.
...
...
This diff is collapsed.
Click to expand it.
gcc/reload1.c
View file @
33ab8de0
...
...
@@ -8165,8 +8165,7 @@ reload_cse_regs (first)
init_alias_analysis
();
reg_values
=
(
rtx
*
)
alloca
(
FIRST_PSEUDO_REGISTER
*
sizeof
(
rtx
));
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
reg_values
[
i
]
=
0
;
bzero
(
reg_values
,
FIRST_PSEUDO_REGISTER
*
sizeof
(
rtx
));
/* Create our EXPR_LIST structures on reload_obstack, so that we can
free them when we are done. */
...
...
@@ -8483,8 +8482,7 @@ reload_cse_simplify_set (set, insn)
dclass
=
REGNO_REG_CLASS
(
dreg
);
/* If memory loads are cheaper than register copies, don't change
them. */
/* If memory loads are cheaper than register copies, don't change them. */
if
(
GET_CODE
(
src
)
==
MEM
&&
MEMORY_MOVE_COST
(
GET_MODE
(
src
),
dclass
,
1
)
<
2
)
return
0
;
...
...
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