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
9937da1a
Commit
9937da1a
authored
Feb 11, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_builtin): Move memory_address calls
out of arglist of emit_block_move. From-SVN: r3460
parent
0f33506c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
gcc/expr.c
+9
-8
No files found.
gcc/expr.c
View file @
9937da1a
...
...
@@ -6419,7 +6419,7 @@ expand_builtin (exp, target, subtarget, mode, ignore)
=
get_pointer_alignment
(
src
,
BIGGEST_ALIGNMENT
)
/
BITS_PER_UNIT
;
int
dest_align
=
get_pointer_alignment
(
dest
,
BIGGEST_ALIGNMENT
)
/
BITS_PER_UNIT
;
rtx
dest_rtx
;
rtx
dest_rtx
,
dest_mem
,
src_mem
;
/* If either SRC or DEST is not a pointer type, don't do
this operation in-line. */
...
...
@@ -6431,15 +6431,16 @@ expand_builtin (exp, target, subtarget, mode, ignore)
}
dest_rtx
=
expand_expr
(
dest
,
NULL_RTX
,
Pmode
,
EXPAND_NORMAL
);
dest_mem
=
gen_rtx
(
MEM
,
BLKmode
,
memory_address
(
BLKmode
,
dest_rtx
));
src_mem
=
gen_rtx
(
MEM
,
BLKmode
,
memory_address
(
BLKmode
,
expand_expr
(
src
,
NULL_RTX
,
Pmode
,
EXPAND_NORMAL
)));
/* Copy word part most expediently. */
emit_block_move
(
gen_rtx
(
MEM
,
BLKmode
,
memory_address
(
BLKmode
,
dest_rtx
)),
gen_rtx
(
MEM
,
BLKmode
,
memory_address
(
BLKmode
,
expand_expr
(
src
,
NULL_RTX
,
Pmode
,
EXPAND_NORMAL
))),
emit_block_move
(
dest_mem
,
src_mem
,
expand_expr
(
len
,
NULL_RTX
,
VOIDmode
,
0
),
MIN
(
src_align
,
dest_align
));
return
dest_rtx
;
...
...
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