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
247140ea
Commit
247140ea
authored
Oct 24, 2006
by
Ben Elliston
Committed by
Ben Elliston
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c: Formatting fixes.
From-SVN: r117993
parent
59e6026b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/reload1.c
+3
-3
No files found.
gcc/ChangeLog
View file @
247140ea
2006
-
10
-
24
Ben
Elliston
<
bje
@au
.
ibm
.
com
>
*
reload1
.
c
:
Formatting
fixes
.
2006
-
10
-
23
Zdenek
Dvorak
<
dvorakz
@suse
.
cz
>
2006
-
10
-
23
Zdenek
Dvorak
<
dvorakz
@suse
.
cz
>
PR
tree
-
optimization
/
14784
PR
tree
-
optimization
/
14784
...
...
gcc/reload1.c
View file @
247140ea
...
@@ -995,7 +995,7 @@ reload (rtx first, int global)
...
@@ -995,7 +995,7 @@ reload (rtx first, int global)
HARD_REG_SET
to_spill
;
HARD_REG_SET
to_spill
;
CLEAR_HARD_REG_SET
(
to_spill
);
CLEAR_HARD_REG_SET
(
to_spill
);
update_eliminables
(
&
to_spill
);
update_eliminables
(
&
to_spill
);
AND_COMPL_HARD_REG_SET
(
used_spill_regs
,
to_spill
);
AND_COMPL_HARD_REG_SET
(
used_spill_regs
,
to_spill
);
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
if
(
TEST_HARD_REG_BIT
(
to_spill
,
i
))
if
(
TEST_HARD_REG_BIT
(
to_spill
,
i
))
...
@@ -1860,7 +1860,7 @@ find_reload_regs (struct insn_chain *chain)
...
@@ -1860,7 +1860,7 @@ find_reload_regs (struct insn_chain *chain)
if
(
!
find_reg
(
chain
,
i
))
if
(
!
find_reg
(
chain
,
i
))
{
{
if
(
dump_file
)
if
(
dump_file
)
fprintf
(
dump_file
,
"reload failure for reload %d
\n
"
,
r
);
fprintf
(
dump_file
,
"reload failure for reload %d
\n
"
,
r
);
spill_failure
(
chain
->
insn
,
rld
[
r
].
class
);
spill_failure
(
chain
->
insn
,
rld
[
r
].
class
);
failure
=
1
;
failure
=
1
;
return
;
return
;
...
@@ -8289,7 +8289,7 @@ inc_for_reload (rtx reloadreg, rtx in, rtx value, int inc_amount)
...
@@ -8289,7 +8289,7 @@ inc_for_reload (rtx reloadreg, rtx in, rtx value, int inc_amount)
emit_insn
(
gen_add2_insn
(
reloadreg
,
inc
));
emit_insn
(
gen_add2_insn
(
reloadreg
,
inc
));
store
=
emit_insn
(
gen_move_insn
(
incloc
,
reloadreg
));
store
=
emit_insn
(
gen_move_insn
(
incloc
,
reloadreg
));
if
(
GET_CODE
(
inc
)
==
CONST_INT
)
if
(
GET_CODE
(
inc
)
==
CONST_INT
)
emit_insn
(
gen_add2_insn
(
reloadreg
,
GEN_INT
(
-
INTVAL
(
inc
))));
emit_insn
(
gen_add2_insn
(
reloadreg
,
GEN_INT
(
-
INTVAL
(
inc
))));
else
else
emit_insn
(
gen_sub2_insn
(
reloadreg
,
inc
));
emit_insn
(
gen_sub2_insn
(
reloadreg
,
inc
));
}
}
...
...
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