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
07bd02ca
Commit
07bd02ca
authored
Sep 08, 1994
by
Steve Chamberlain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r8046
parent
13ce26b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
gcc/config/sh/sh.c
+17
-4
No files found.
gcc/config/sh/sh.c
View file @
07bd02ca
...
...
@@ -170,6 +170,7 @@ output_stack_adjust (size)
}
}
/* Generate code to push the regs specified in the mask, and return
the number of bytes the insns take. */
...
...
@@ -462,7 +463,7 @@ synth_constant (operands, mode)
{
rtx
dst
;
int
i
=
INTVAL
(
operands
[
1
])
&
0xffffffff
;
if
(
CONST_OK_FOR_I
(
i
))
return
0
;
...
...
@@ -536,7 +537,19 @@ synth_constant (operands, mode)
else
return
0
;
if
(
mode
!=
SImode
)
if
(
mode
==
DImode
)
{
/* Moving from SI to DI, we've got to zero out the high part */
emit_insn
(
gen_rtx
(
SET
,
VOIDmode
,
gen_rtx
(
SUBREG
,
SImode
,
operands
[
0
],
0
),
dst
));
emit_insn
(
gen_rtx
(
SET
,
VOIDmode
,
gen_rtx
(
SUBREG
,
SImode
,
operands
[
0
],
1
),
const0_rtx
));
}
else
if
(
mode
!=
SImode
)
{
emit_insn
(
gen_rtx
(
SET
,
VOIDmode
,
operands
[
0
],
gen_rtx
(
SUBREG
,
mode
,
dst
,
0
)));
...
...
@@ -1240,9 +1253,9 @@ add_constant (x, mode)
if
(
XINT
(
x
,
3
)
!=
XINT
(
pool_vector
[
i
].
value
,
3
))
continue
;
}
if
(
rtx_equal_p
(
x
,
pool_vector
[
i
].
value
))
return
pool_vector
[
i
].
label
;
}
if
(
rtx_equal_p
(
x
,
pool_vector
[
i
].
value
))
return
pool_vector
[
i
].
label
;
}
/* Need a new one */
...
...
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