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
5716e645
Commit
5716e645
authored
Apr 13, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movstricthi): Remove extraneous comparisons.
From-SVN: r13890
parent
67cbb7a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
gcc/config/m68k/m68k.md
+6
-12
No files found.
gcc/config/m68k/m68k.md
View file @
5716e645
...
...
@@ -964,18 +964,12 @@
""
"
*
{
if (GET_CODE (operands
[
1
]
) == CONST_INT)
{
if (operands
[
1
]
== const0_rtx
&& (DATA_REG_P (operands
[
0
]
)
|| GET_CODE (operands
[
0
]
) == MEM)
/
*
clr insns on 68000 read before writing.
This isn't so on the 68010, but we have no TARGET_68010.
*
/
&& ((TARGET_68020 || TARGET_5200)
|| !(GET_CODE (operands
[
0
]
) == MEM
&& MEM_VOLATILE_P (operands
[
0
]
))))
return
\"
clr%.w %0
\"
;
}
if (operands
[
1
]
== const0_rtx
/
*
clr insns on 68000 read before writing.
This isn't so on the 68010, but we have no TARGET_68010.
*
/
&& ((TARGET_68020 || TARGET_5200)
|| !(GET_CODE (operands
[
0
]
) == MEM && MEM_VOLATILE_P (operands
[
0
]
))))
return
\"
clr%.w %0
\"
;
return
\"
move%.w %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