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
df7b8573
Commit
df7b8573
authored
Aug 10, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_move_double): Fix typos in last change.
From-SVN: r5127
parent
c1b9947f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/config/ns32k/ns32k.c
+8
-8
No files found.
gcc/config/ns32k/ns32k.c
View file @
df7b8573
...
...
@@ -321,7 +321,7 @@ output_move_double (operands)
/* Overlapping registers. */
if
(
optype0
==
REGOP
&&
optype1
==
REGOP
&&
REGNO
(
op
0
)
==
REGNO
(
latehalf
[
1
]))
&&
REGNO
(
op
erands
[
0
]
)
==
REGNO
(
latehalf
[
1
]))
{
/* Do that word. */
output_asm_insn
(
singlemove_string
(
latehalf
),
latehalf
);
...
...
@@ -330,26 +330,26 @@ output_move_double (operands)
}
/* Loading into a register which overlaps a register used in the address. */
else
if
(
optype0
==
REGOP
&&
optype1
!=
REGOP
&&
reg_overlap_mentioned_p
(
op
0
,
op1
))
&&
reg_overlap_mentioned_p
(
op
erands
[
0
],
operands
[
1
]
))
{
if
(
reg_mentioned_p
(
op
0
,
XEXP
(
op1
,
0
))
&&
reg_mentioned_p
(
latehalf
[
0
],
XEXP
(
op
1
,
0
)))
if
(
reg_mentioned_p
(
op
erands
[
0
],
XEXP
(
operands
[
1
]
,
0
))
&&
reg_mentioned_p
(
latehalf
[
0
],
XEXP
(
op
erands
[
1
]
,
0
)))
{
/* If both halves of dest are used in the src memory address,
add the two regs and put them in the low reg (op
0
).
add the two regs and put them in the low reg (op
erands[0]
).
Then it works to load latehalf first. */
rtx
xops
[
2
];
xops
[
0
]
=
latehalf
[
0
];
xops
[
1
]
=
op
0
;
xops
[
1
]
=
op
erands
[
0
]
;
output_asm_insn
(
"addd %0,%1"
,
xops
);
operands
[
1
]
=
gen_rtx
(
MEM
,
DImode
,
op
0
);
operands
[
1
]
=
gen_rtx
(
MEM
,
DImode
,
op
erands
[
0
]
);
latehalf
[
1
]
=
adj_offsettable_operand
(
operands
[
1
],
4
);
/* The first half has the overlap, Do the late half first. */
output_asm_insn
(
singlemove_string
(
latehalf
),
latehalf
);
/* Then clobber. */
return
singlemove_string
(
operands
);
}
if
(
reg_mentioned_p
(
op
0
,
XEXP
(
op1
,
0
)))
if
(
reg_mentioned_p
(
op
erands
[
0
],
XEXP
(
operands
[
1
]
,
0
)))
{
/* The first half has the overlap, Do the late half first. */
output_asm_insn
(
singlemove_string
(
latehalf
),
latehalf
);
...
...
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