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
5d901c31
Commit
5d901c31
authored
Jul 17, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(convert_move): Don't call protect_from_queue.
(emit_block_move): Protect SIZE. From-SVN: r1607
parent
b3d4e1b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
gcc/expr.c
+8
-3
No files found.
gcc/expr.c
View file @
5d901c31
...
@@ -829,7 +829,10 @@ convert_move (to, from, unsignedp)
...
@@ -829,7 +829,10 @@ convert_move (to, from, unsignedp)
Both X and MODE may be floating, or both integer.
Both X and MODE may be floating, or both integer.
UNSIGNEDP is nonzero if X is an unsigned value.
UNSIGNEDP is nonzero if X is an unsigned value.
This can be done by referring to a part of X in place
This can be done by referring to a part of X in place
or by copying to a new temporary with conversion. */
or by copying to a new temporary with conversion.
This function *must not* call protect_from_queue
except when putting X into an insn (in which case convert_move does it). */
rtx
rtx
convert_to_mode
(
mode
,
x
,
unsignedp
)
convert_to_mode
(
mode
,
x
,
unsignedp
)
...
@@ -839,8 +842,6 @@ convert_to_mode (mode, x, unsignedp)
...
@@ -839,8 +842,6 @@ convert_to_mode (mode, x, unsignedp)
{
{
register
rtx
temp
;
register
rtx
temp
;
x
=
protect_from_queue
(
x
,
0
);
if
(
mode
==
GET_MODE
(
x
))
if
(
mode
==
GET_MODE
(
x
))
return
x
;
return
x
;
...
@@ -1118,6 +1119,7 @@ emit_block_move (x, y, size, align)
...
@@ -1118,6 +1119,7 @@ emit_block_move (x, y, size, align)
x
=
protect_from_queue
(
x
,
1
);
x
=
protect_from_queue
(
x
,
1
);
y
=
protect_from_queue
(
y
,
0
);
y
=
protect_from_queue
(
y
,
0
);
size
=
protect_from_queue
(
size
,
0
);
if
(
GET_CODE
(
x
)
!=
MEM
)
if
(
GET_CODE
(
x
)
!=
MEM
)
abort
();
abort
();
...
@@ -1847,6 +1849,9 @@ emit_library_call (va_alist)
...
@@ -1847,6 +1849,9 @@ emit_library_call (va_alist)
val
=
convert_to_mode
(
DFmode
,
val
),
mode
=
DFmode
;
val
=
convert_to_mode
(
DFmode
,
val
),
mode
=
DFmode
;
#endif
#endif
/* There's no need to call protect_from_queue, because
either emit_move_insn or emit_push_insn will do that. */
/* Make sure it is a reasonable operand for a move or push insn. */
/* Make sure it is a reasonable operand for a move or push insn. */
if
(
GET_CODE
(
val
)
!=
REG
&&
GET_CODE
(
val
)
!=
MEM
if
(
GET_CODE
(
val
)
!=
REG
&&
GET_CODE
(
val
)
!=
MEM
&&
!
(
CONSTANT_P
(
val
)
&&
LEGITIMATE_CONSTANT_P
(
val
)))
&&
!
(
CONSTANT_P
(
val
)
&&
LEGITIMATE_CONSTANT_P
(
val
)))
...
...
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