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
e0f396bc
Commit
e0f396bc
authored
Nov 19, 2013
by
Marcus Shawcroft
Committed by
Marcus Shawcroft
Nov 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AArch64] Fix over length lines around aarch64_save_or_restore_fprs.
From-SVN: r205043
parent
2a9704d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
gcc/ChangeLog
+5
-0
gcc/config/aarch64/aarch64.c
+9
-6
No files found.
gcc/ChangeLog
View file @
e0f396bc
2013
-
11
-
19
Marcus
Shawcroft
<
marcus
.
shawcroft
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
c
(
aarch64_save_or_restore_fprs
):
Fix
over
length
lines
.
2013
-
11
-
19
Marcus
Shawcroft
<
marcus
.
shawcroft
@
arm
.
com
>
*
config
/
aarch64
/
aarch64
.
md
(
aarch64_movdi_
<
mode
>
low
,
*
add_
<
shift
>
_si_uxtw
):
Adjust
whitespace
.
gcc/config/aarch64/aarch64.c
View file @
e0f396bc
...
...
@@ -1800,7 +1800,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
unsigned
regno
;
unsigned
regno2
;
rtx
insn
;
rtx
(
*
gen_mem_ref
)(
enum
machine_mode
,
rtx
)
=
(
frame_pointer_needed
)
?
gen_frame_mem
:
gen_rtx_MEM
;
rtx
(
*
gen_mem_ref
)(
enum
machine_mode
,
rtx
)
=
(
frame_pointer_needed
)
?
gen_frame_mem
:
gen_rtx_MEM
;
for
(
regno
=
V0_REGNUM
;
regno
<=
V31_REGNUM
;
regno
++
)
...
...
@@ -1843,16 +1844,17 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
(
gen_load_pairdf
(
gen_rtx_REG
(
DFmode
,
regno
),
mem
,
gen_rtx_REG
(
DFmode
,
regno2
),
mem2
));
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DFmode
,
regno
));
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DFmode
,
regno2
));
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DFmode
,
regno
));
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DFmode
,
regno2
));
}
/* The first part of a frame-related parallel insn
is always assumed to be relevant to the frame
calculations; subsequent parts, are only
frame-related if explicitly marked. */
RTX_FRAME_RELATED_P
(
XVECEXP
(
PATTERN
(
insn
),
0
,
1
))
=
1
;
RTX_FRAME_RELATED_P
(
XVECEXP
(
PATTERN
(
insn
),
0
,
1
))
=
1
;
regno
=
regno2
;
start_offset
+=
increment
*
2
;
}
...
...
@@ -1863,7 +1865,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
else
{
insn
=
emit_move_insn
(
gen_rtx_REG
(
DFmode
,
regno
),
mem
);
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DImode
,
regno
));
add_reg_note
(
insn
,
REG_CFA_RESTORE
,
gen_rtx_REG
(
DImode
,
regno
));
}
start_offset
+=
increment
;
}
...
...
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