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
b2358eb1
Commit
b2358eb1
authored
May 10, 1993
by
Steve Chamberlain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movstrsi): Take alignment into account.
From-SVN: r4410
parent
32642232
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/config/sh/sh.md
+5
-4
No files found.
gcc/config/sh/sh.md
View file @
b2358eb1
...
...
@@ -1176,11 +1176,12 @@
{
rtx src_ptr = copy_to_mode_reg(Pmode,XEXP(operands
[
1
]
, 0));
rtx dst_ptr = copy_to_mode_reg(Pmode,XEXP(operands
[
0
]
, 0));
int maxsize = GET_CODE (operands
[
2
]
) == CONST_INT
? MAX (INTVAL (operands
[
2
]
), INTVAL (operands
[
3
]
)) : 1;
enum machine_mode mode =
(
INTVAL(operands
[
3
]
) >=4)
? SImode :
(INTVAL(operands
[
3
]
) >=
2) ? HImode :
QImode;
(
maxsize >= 4)
? SImode :
(maxsize >=
2) ? HImode :
QImode;
rtx tmpreg = gen_reg_rtx(mode);
rtx increment = GEN_INT(GET_MODE_SIZE(mode));
...
...
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