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
97d6fd65
Commit
97d6fd65
authored
Apr 27, 1998
by
J"orn Rennecke
Committed by
Joern Rennecke
Apr 27, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
From-SVN: r19432
parent
5645adf0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
gcc/ChangeLog
+4
-0
gcc/config/sh/sh.c
+10
-2
No files found.
gcc/ChangeLog
View file @
97d6fd65
Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (sh_expand_prologue, sh_expand_epilogue):
...
...
gcc/config/sh/sh.c
View file @
97d6fd65
...
...
@@ -922,8 +922,16 @@ gen_ashift_hi (type, n, reg)
zero/sign extension.
gen_ashift_hi is only called in contexts where we know that the
sign extension works out correctly. */
gen_ashift
(
type
,
n
,
gen_rtx_SUBREG
(
SImode
,
reg
,
0
));
break
;
{
int
word
=
0
;
if
(
GET_CODE
(
reg
)
==
SUBREG
)
{
word
=
SUBREG_WORD
(
reg
);
reg
=
SUBREG_REG
(
reg
);
}
gen_ashift
(
type
,
n
,
gen_rtx_SUBREG
(
SImode
,
reg
,
word
));
break
;
}
case
ASHIFT
:
emit_insn
(
gen_ashlhi3_k
(
reg
,
reg
,
GEN_INT
(
n
)));
break
;
...
...
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