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
c841050e
Commit
c841050e
authored
Mar 12, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_push_insn): Handle failure of gen_movstr...
From-SVN: r3721
parent
dac29d65
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
+24
-8
gcc/expr.c
+24
-8
No files found.
gcc/expr.c
View file @
c841050e
...
@@ -1911,10 +1911,14 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
...
@@ -1911,10 +1911,14 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
&&
((
unsigned
)
INTVAL
(
size
)
&&
((
unsigned
)
INTVAL
(
size
)
<
(
1
<<
(
GET_MODE_BITSIZE
(
QImode
)
-
1
))))
<
(
1
<<
(
GET_MODE_BITSIZE
(
QImode
)
-
1
))))
{
{
emit_insn
(
gen_movstrqi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
rtx
pat
=
gen_movstrqi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
xinner
,
size
,
GEN_INT
(
align
)));
xinner
,
size
,
GEN_INT
(
align
));
if
(
pat
!=
0
)
{
emit_insn
(
pat
);
goto
ret
;
goto
ret
;
}
}
}
#endif
#endif
#ifdef HAVE_movstrhi
#ifdef HAVE_movstrhi
if
(
HAVE_movstrhi
if
(
HAVE_movstrhi
...
@@ -1922,26 +1926,38 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
...
@@ -1922,26 +1926,38 @@ emit_push_insn (x, mode, type, size, align, partial, reg, extra,
&&
((
unsigned
)
INTVAL
(
size
)
&&
((
unsigned
)
INTVAL
(
size
)
<
(
1
<<
(
GET_MODE_BITSIZE
(
HImode
)
-
1
))))
<
(
1
<<
(
GET_MODE_BITSIZE
(
HImode
)
-
1
))))
{
{
emit_insn
(
gen_movstrhi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
rtx
pat
=
gen_movstrhi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
xinner
,
size
,
GEN_INT
(
align
)));
xinner
,
size
,
GEN_INT
(
align
));
if
(
pat
!=
0
)
{
emit_insn
(
pat
);
goto
ret
;
goto
ret
;
}
}
}
#endif
#endif
#ifdef HAVE_movstrsi
#ifdef HAVE_movstrsi
if
(
HAVE_movstrsi
)
if
(
HAVE_movstrsi
)
{
{
emit_insn
(
gen_movstrsi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
rtx
pat
=
gen_movstrsi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
xinner
,
size
,
GEN_INT
(
align
)));
xinner
,
size
,
GEN_INT
(
align
));
if
(
pat
!=
0
)
{
emit_insn
(
pat
);
goto
ret
;
goto
ret
;
}
}
}
#endif
#endif
#ifdef HAVE_movstrdi
#ifdef HAVE_movstrdi
if
(
HAVE_movstrdi
)
if
(
HAVE_movstrdi
)
{
{
emit_insn
(
gen_movstrdi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
rtx
pat
=
gen_movstrdi
(
gen_rtx
(
MEM
,
BLKmode
,
temp
),
xinner
,
size
,
GEN_INT
(
align
)));
xinner
,
size
,
GEN_INT
(
align
));
if
(
pat
!=
0
)
{
emit_insn
(
pat
);
goto
ret
;
goto
ret
;
}
}
}
#endif
#endif
#ifndef ACCUMULATE_OUTGOING_ARGS
#ifndef ACCUMULATE_OUTGOING_ARGS
...
...
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