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
c937357e
Commit
c937357e
authored
Jul 24, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_move_insn_1): For complex stack push, don't use change_address.
From-SVN: r4983
parent
255fccf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
gcc/expr.c
+25
-8
No files found.
gcc/expr.c
View file @
c937357e
...
@@ -1648,14 +1648,31 @@ emit_move_insn_1 (x, y)
...
@@ -1648,14 +1648,31 @@ emit_move_insn_1 (x, y)
In that case, change_address is used only to convert
In that case, change_address is used only to convert
the mode, not to change the address. */
the mode, not to change the address. */
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
if
(
stack
)
((
stack
?
change_address
(
x
,
submode
,
(
rtx
)
0
)
{
:
gen_highpart
(
submode
,
x
)),
#ifdef STACK_GROWS_DOWNWARD
gen_highpart
(
submode
,
y
)));
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
(
gen_rtx
(
MEM
,
submode
,
(
XEXP
(
x
,
0
))),
((
stack
?
change_address
(
x
,
submode
,
(
rtx
)
0
)
gen_highpart
(
submode
,
y
)));
:
gen_lowpart
(
submode
,
x
)),
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
gen_lowpart
(
submode
,
y
)));
(
gen_rtx
(
MEM
,
submode
,
(
XEXP
(
x
,
0
))),
gen_lowpart
(
submode
,
y
)));
#else
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
(
gen_rtx
(
MEM
,
submode
,
(
XEXP
(
x
,
0
))),
gen_lowpart
(
submode
,
y
)));
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
(
gen_rtx
(
MEM
,
submode
,
(
XEXP
(
x
,
0
))),
gen_highpart
(
submode
,
y
)));
#endif
}
else
{
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
(
gen_highpart
(
submode
,
x
),
gen_highpart
(
submode
,
y
)));
emit_insn
(
GEN_FCN
(
mov_optab
->
handlers
[(
int
)
submode
].
insn_code
)
(
gen_lowpart
(
submode
,
x
),
gen_lowpart
(
submode
,
y
)));
}
group_insns
(
prev
);
group_insns
(
prev
);
...
...
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