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
39fd5abe
Commit
39fd5abe
authored
May 25, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const): Replace
`mov' with `move'. From-SVN: r9818
parent
fd4cb6b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
gcc/config/m68k/m68k.md
+7
-7
No files found.
gcc/config/m68k/m68k.md
View file @
39fd5abe
...
@@ -2102,7 +2102,7 @@
...
@@ -2102,7 +2102,7 @@
else if (GET_CODE (XEXP (operands
[
0
]
, 0)) == PRE_DEC)
else if (GET_CODE (XEXP (operands
[
0
]
, 0)) == PRE_DEC)
operands
[
2
]
= gen_rtx (MEM, SImode, XEXP (XEXP (operands
[
0
]
, 0), 0));
operands
[
2
]
= gen_rtx (MEM, SImode, XEXP (XEXP (operands
[
0
]
, 0), 0));
}
}
output_asm_insn (
\"
mov%.l %1,%0
\"
, operands);
output_asm_insn (
\"
mov
e
%.l %1,%0
\"
, operands);
#ifdef MOTOROLA
#ifdef MOTOROLA
output_asm_insn (
\"
jbpl %l3
\"
, operands);
output_asm_insn (
\"
jbpl %l3
\"
, operands);
#else
#else
...
@@ -4104,9 +4104,9 @@
...
@@ -4104,9 +4104,9 @@
if (INTVAL (operands
[
2
]
) == 1)
if (INTVAL (operands
[
2
]
) == 1)
return
\"
add%.l %1,%1
\;
addx%.l %0,%0
\"
;
return
\"
add%.l %1,%1
\;
addx%.l %0,%0
\"
;
else if (INTVAL (operands
[
2
]
) == 8)
else if (INTVAL (operands
[
2
]
) == 8)
return
\"
rol%.l %#8,%1
\;
rol%.l %#8,%0
\;
mov%.b %1,%0
\;
clr%.b %1
\"
;
return
\"
rol%.l %#8,%1
\;
rol%.l %#8,%0
\;
mov
e
%.b %1,%0
\;
clr%.b %1
\"
;
else if (INTVAL (operands
[
2
]
) == 16)
else if (INTVAL (operands
[
2
]
) == 16)
return
\"
swap %1
\;
swap %0
\;
mov%.w %1,%0
\;
clr%.w %1
\"
;
return
\"
swap %1
\;
swap %0
\;
mov
e
%.w %1,%0
\;
clr%.w %1
\"
;
else if (INTVAL (operands
[
2
]
) == 2)
else if (INTVAL (operands
[
2
]
) == 2)
return
\"
add%.l %1,%1
\;
addx%.l %0,%0
\;
add%.l %1,%1
\;
addx%.l %0,%0
\"
;
return
\"
add%.l %1,%1
\;
addx%.l %0,%0
\;
add%.l %1,%1
\;
addx%.l %0,%0
\"
;
else/
* if (INTVAL (operands[2]) == 3)*
/
else/
* if (INTVAL (operands[2]) == 3)*
/
...
@@ -4290,9 +4290,9 @@
...
@@ -4290,9 +4290,9 @@
if (INTVAL (operands
[
2
]
) == 1)
if (INTVAL (operands
[
2
]
) == 1)
return
\"
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
return
\"
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
else if (INTVAL (operands
[
2
]
) == 8)
else if (INTVAL (operands
[
2
]
) == 8)
return
\"
mov%.b %0,%1
\;
asr%.l %#8,%0
\;
ror%.l %#8,%1
\"
;
return
\"
mov
e
%.b %0,%1
\;
asr%.l %#8,%0
\;
ror%.l %#8,%1
\"
;
else if (INTVAL (operands
[
2
]
) == 16)
else if (INTVAL (operands
[
2
]
) == 16)
return
\"
mov%.w %0,%1
\;
clr%.w %0
\;
swap %1
\;
ext%.l %0
\"
;
return
\"
mov
e
%.w %0,%1
\;
clr%.w %0
\;
swap %1
\;
ext%.l %0
\"
;
else if (INTVAL (operands
[
2
]
) == 2)
else if (INTVAL (operands
[
2
]
) == 2)
return
\"
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\;
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
return
\"
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\;
asr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
else/
* if (INTVAL (operands[2]) == 3)*
/
else/
* if (INTVAL (operands[2]) == 3)*
/
...
@@ -4431,9 +4431,9 @@
...
@@ -4431,9 +4431,9 @@
if (INTVAL (operands
[
2
]
) == 1)
if (INTVAL (operands
[
2
]
) == 1)
return
\"
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
return
\"
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
else if (INTVAL (operands
[
2
]
) == 8)
else if (INTVAL (operands
[
2
]
) == 8)
return
\"
mov%.b %0,%1
\;
lsr%.l %#8,%0
\;
ror%.l %#8,%1
\"
;
return
\"
mov
e
%.b %0,%1
\;
lsr%.l %#8,%0
\;
ror%.l %#8,%1
\"
;
else if (INTVAL (operands
[
2
]
) == 16)
else if (INTVAL (operands
[
2
]
) == 16)
return
\"
mov%.w %0,%1
\;
clr%.w %0
\;
swap %1
\;
swap %0
\"
;
return
\"
mov
e
%.w %0,%1
\;
clr%.w %0
\;
swap %1
\;
swap %0
\"
;
else if (INTVAL (operands
[
2
]
) == 2)
else if (INTVAL (operands
[
2
]
) == 2)
return
\"
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\;
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
return
\"
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\;
lsr%.l %#1,%0
\;
roxr%.l %#1,%1
\"
;
else /
*if (INTVAL (operands[2]) == 3)*
/
else /
*if (INTVAL (operands[2]) == 3)*
/
...
...
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