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
78c29983
Commit
78c29983
authored
Apr 22, 2014
by
Marcus Shawcroft
Committed by
Marcus Shawcroft
Apr 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AArch64] Fix indentation.
From-SVN: r209627
parent
dbf23a79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
22 deletions
+27
-22
gcc/ChangeLog
+5
-0
gcc/config/aarch64/aarch64.c
+22
-22
No files found.
gcc/ChangeLog
View file @
78c29983
2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64.c (aarch64_initial_elimination_offset):
Fix indentation.
2014-04-22 Richard Sandiford <rdsandiford@googlemail.com>
* machmode.h (bitwise_mode_for_mode): Declare.
...
...
gcc/config/aarch64/aarch64.c
View file @
78c29983
...
...
@@ -4147,32 +4147,32 @@ aarch64_initial_elimination_offset (unsigned from, unsigned to)
+
crtl
->
outgoing_args_size
+
cfun
->
machine
->
saved_varargs_size
);
frame_size
=
AARCH64_ROUND_UP
(
frame_size
,
STACK_BOUNDARY
/
BITS_PER_UNIT
);
offset
=
frame_size
;
frame_size
=
AARCH64_ROUND_UP
(
frame_size
,
STACK_BOUNDARY
/
BITS_PER_UNIT
);
offset
=
frame_size
;
if
(
to
==
HARD_FRAME_POINTER_REGNUM
)
{
if
(
from
==
ARG_POINTER_REGNUM
)
return
offset
-
crtl
->
outgoing_args_size
;
if
(
to
==
HARD_FRAME_POINTER_REGNUM
)
{
if
(
from
==
ARG_POINTER_REGNUM
)
return
offset
-
crtl
->
outgoing_args_size
;
if
(
from
==
FRAME_POINTER_REGNUM
)
return
cfun
->
machine
->
frame
.
saved_regs_size
+
get_frame_size
();
}
if
(
from
==
FRAME_POINTER_REGNUM
)
return
cfun
->
machine
->
frame
.
saved_regs_size
+
get_frame_size
();
}
if
(
to
==
STACK_POINTER_REGNUM
)
{
if
(
from
==
FRAME_POINTER_REGNUM
)
{
HOST_WIDE_INT
elim
=
crtl
->
outgoing_args_size
+
cfun
->
machine
->
frame
.
saved_regs_size
+
get_frame_size
()
-
cfun
->
machine
->
frame
.
fp_lr_offset
;
elim
=
AARCH64_ROUND_UP
(
elim
,
STACK_BOUNDARY
/
BITS_PER_UNIT
);
return
elim
;
}
}
if
(
to
==
STACK_POINTER_REGNUM
)
{
if
(
from
==
FRAME_POINTER_REGNUM
)
{
HOST_WIDE_INT
elim
=
crtl
->
outgoing_args_size
+
cfun
->
machine
->
frame
.
saved_regs_size
+
get_frame_size
()
-
cfun
->
machine
->
frame
.
fp_lr_offset
;
elim
=
AARCH64_ROUND_UP
(
elim
,
STACK_BOUNDARY
/
BITS_PER_UNIT
);
return
elim
;
}
}
return
offset
;
return
offset
;
}
...
...
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