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
004135d0
Commit
004135d0
authored
Aug 13, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movdi matchers): Fix src/dest order in unaligned reg->reg case.
From-SVN: r10223
parent
0813543a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
gcc/config/i960/i960.md
+10
-10
No files found.
gcc/config/i960/i960.md
View file @
004135d0
...
@@ -825,12 +825,12 @@
...
@@ -825,12 +825,12 @@
|| (REGNO (operands
[
1
]
) & 1))
|| (REGNO (operands
[
1
]
) & 1))
{
{
/
*
We normally copy the low-numbered register first. However, if
/
*
We normally copy the low-numbered register first. However, if
the second
register operand 0 is the same as the first register
the second
source register is the same as the first destination
of operand 1
, we must copy in the opposite order.
*
/
register
, we must copy in the opposite order.
*
/
if (REGNO (operands
[
0
]
) + 1 == REGNO (operands
[
1
]
))
if (REGNO (operands
[
1
]
) + 1 == REGNO (operands
[
0
]
))
return
\"
mov %D
0,%D1
\;
mov %0,%1
\"
;
return
\"
mov %D
1,%D0
\;
mov %1,%0
\"
;
else
else
return
\"
mov %
0,%1
\;
mov %D0,%D1
\"
;
return
\"
mov %
1,%0
\;
mov %D1,%D0
\"
;
}
}
else
else
return
\"
movl %1,%0
\"
;
return
\"
movl %1,%0
\"
;
...
@@ -882,12 +882,12 @@
...
@@ -882,12 +882,12 @@
|| (REGNO (operands
[
1
]
) & 1))
|| (REGNO (operands
[
1
]
) & 1))
{
{
/
*
We normally copy the low-numbered register first. However, if
/
*
We normally copy the low-numbered register first. However, if
the second
register operand 0 is the same as the first register
the second
source register is the same as the first destination
of operand 1
, we must copy in the opposite order.
*
/
register
, we must copy in the opposite order.
*
/
if (REGNO (operands
[
0
]
) + 1 == REGNO (operands
[
1
]
))
if (REGNO (operands
[
1
]
) + 1 == REGNO (operands
[
0
]
))
return
\"
mov %D
0,%D1
\;
mov %0,%1
\"
;
return
\"
mov %D
1,%D0
\;
mov %1,%0
\"
;
else
else
return
\"
mov %
0,%1
\;
mov %D0,%D1
\"
;
return
\"
mov %
1,%0
\;
mov %D1,%D0
\"
;
}
}
else
else
return
\"
movl %1,%0
\"
;
return
\"
movl %1,%0
\"
;
...
...
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