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
55185278
Commit
55185278
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 variable 'increment'
From-SVN: r212950
parent
0b4a9743
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
gcc/ChangeLog
+6
-0
gcc/config/aarch64/aarch64.c
+2
-5
No files found.
gcc/ChangeLog
View file @
55185278
...
...
@@ -2,6 +2,12 @@
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_callee_save_registers
)
(
aarch64_save_or_restore_fprs
):
Remove
'increment'
.
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
):
Use
register
offset
in
cfun
->
machine
->
frame
.
reg_offset
.
...
...
gcc/config/aarch64/aarch64.c
View file @
55185278
...
...
@@ -1910,9 +1910,7 @@ aarch64_register_saved_on_entry (int regno)
static
void
aarch64_save_or_restore_fprs
(
HOST_WIDE_INT
start_offset
,
int
increment
,
bool
restore
)
aarch64_save_or_restore_fprs
(
HOST_WIDE_INT
start_offset
,
bool
restore
)
{
unsigned
regno
;
unsigned
regno2
;
...
...
@@ -1998,7 +1996,6 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
bool
restore
)
{
rtx
insn
;
HOST_WIDE_INT
increment
=
UNITS_PER_WORD
;
rtx
(
*
gen_mem_ref
)
(
enum
machine_mode
,
rtx
)
=
(
frame_pointer_needed
?
gen_frame_mem
:
gen_rtx_MEM
);
unsigned
limit
=
frame_pointer_needed
?
R28_REGNUM
:
R30_REGNUM
;
...
...
@@ -2076,7 +2073,7 @@ aarch64_save_or_restore_callee_save_registers (HOST_WIDE_INT start_offset,
}
}
aarch64_save_or_restore_fprs
(
start_offset
,
increment
,
restore
);
aarch64_save_or_restore_fprs
(
start_offset
,
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