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
7bf7a695
Commit
7bf7a695
authored
Jul 23, 2014
by
Jiong Wang
Committed by
Marcus Shawcroft
Jul 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AArch64] Remove useless parameter base_rtx.
From-SVN: r212947
parent
ec01976b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
gcc/ChangeLog
+6
-0
gcc/config/aarch64/aarch64.c
+6
-7
No files found.
gcc/ChangeLog
View file @
7bf7a695
2014
-
07
-
23
Jiong
Wang
<
jiong
.
wang
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_callee_save_registers
)
(
aarch64_save_or_restore_fprs
):
Remove
base_rtx
.
2014
-
07
-
23
Jiong
Wang
<
jiong
.
wang
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_callee_save_registers
):
Rename
'offset'
to
'start_offset'
.
Remove
local
variable
'start_offset'
.
...
...
gcc/config/aarch64/aarch64.c
View file @
7bf7a695
...
...
@@ -1911,7 +1911,7 @@ aarch64_register_saved_on_entry (int regno)
static
void
aarch64_save_or_restore_fprs
(
HOST_WIDE_INT
start_offset
,
int
increment
,
bool
restore
,
rtx
base_rtx
)
bool
restore
)
{
unsigned
regno
;
...
...
@@ -1927,7 +1927,7 @@ aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment,
rtx
mem
;
mem
=
gen_mem_ref
(
DFmode
,
plus_constant
(
Pmode
,
base
_rtx
,
stack_pointer
_rtx
,
start_offset
));
for
(
regno2
=
regno
+
1
;
...
...
@@ -1947,7 +1947,7 @@ aarch64_save_or_restore_fprs (HOST_WIDE_INT start_offset, int increment,
mem2
=
gen_mem_ref
(
DFmode
,
plus_constant
(
Pmode
,
base
_rtx
,
stack_pointer
_rtx
,
start_offset
+
increment
));
if
(
restore
==
false
)
{
...
...
@@ -2001,7 +2001,6 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
bool
restore
)
{
rtx
insn
;
rtx
base_rtx
=
stack_pointer_rtx
;
HOST_WIDE_INT
increment
=
UNITS_PER_WORD
;
rtx
(
*
gen_mem_ref
)
(
enum
machine_mode
,
rtx
)
=
(
frame_pointer_needed
?
gen_frame_mem
:
gen_rtx_MEM
);
...
...
@@ -2016,7 +2015,7 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
rtx
mem
;
mem
=
gen_mem_ref
(
Pmode
,
plus_constant
(
Pmode
,
base
_rtx
,
stack_pointer
_rtx
,
start_offset
));
for
(
regno2
=
regno
+
1
;
...
...
@@ -2035,7 +2034,7 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
mem2
=
gen_mem_ref
(
Pmode
,
plus_constant
(
Pmode
,
base
_rtx
,
stack_pointer
_rtx
,
start_offset
+
increment
));
if
(
restore
==
false
)
{
...
...
@@ -2080,7 +2079,7 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
}
}
aarch64_save_or_restore_fprs
(
start_offset
,
increment
,
restore
,
base_rtx
);
aarch64_save_or_restore_fprs
(
start_offset
,
increment
,
restore
);
}
/* AArch64 stack frames generated by this compiler look like:
...
...
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