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
1eec766a
Commit
1eec766a
authored
Jan 06, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movhi): Corrected case of moving constant to memory.
From-SVN: r13389
parent
345dd8a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
gcc/config/1750a/1750a.md
+9
-4
No files found.
gcc/config/1750a/1750a.md
View file @
1eec766a
;;- Machine description for GNU compiler
;;- MIL-STD-1750A version.
;; Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
;; Copyright (C) 1994, 1995, 1996
, 1997
Free Software Foundation, Inc.
;; Contributed by O.M.Kellogg, DASA (oliver.kellogg@space.otn.dasa.de).
;; This file is part of GNU CC.
...
...
@@ -451,9 +451,14 @@
""
"
{
if (GET_CODE(operands
[
0
]
) == MEM &&
GET_CODE(operands
[
1
]
) == MEM)
operands
[
1
]
= force_reg (HImode, operands
[
1
]
);
if (GET_CODE(operands
[
0
]
) == MEM)
{
rtx op1 = operands
[
1
]
;
if (GET_CODE(op1) == MEM
|| (GET_CODE(op1) == CONST_INT
&& (INTVAL(op1)
<
0
||
INTVAL
(
op1
)
>
15)))
operands
[
1
]
= force_reg (HImode, operands
[
1
]
);
}
}")
...
...
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