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
2c5447d9
Commit
2c5447d9
authored
Feb 01, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(movqi): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13576
parent
0cb7cfed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/config/m68k/m68k.md
+5
-4
No files found.
gcc/config/m68k/m68k.md
View file @
2c5447d9
...
...
@@ -993,12 +993,13 @@
/
*
clr and st insns on 68000 read before writing.
This isn't so on the 68010, but we have no TARGET_68010.
*
/
if (!ADDRESS_REG_P (operands
[
0
]
)
&& (
TARGET_68020
&& (
(TARGET_68020 || TARGET_5200)
|| !(GET_CODE (operands
[
0
]
) == MEM && MEM_VOLATILE_P (operands
[
0
]
))))
{
if (operands
[
1
]
== const0_rtx)
return
\"
clr%.b %0
\"
;
if (GET_CODE (operands
[
1
]
) == CONST_INT
if ((!TARGET_5200 || DATA_REG_P (operands
[
0
]
))
&& GET_CODE (operands
[
1
]
) == CONST_INT
&& (INTVAL (operands
[
1
]
) & 255) == 255)
{
CC_STATUS_INIT;
...
...
@@ -4356,13 +4357,13 @@
"!TARGET_5200"
"lsl%.b %1,%0")
;; On
all
68k models, this makes faster code in a special case.
;; On
most
68k models, this makes faster code in a special case.
(define_insn "ashrsi_16"
[
(set (match_operand:SI 0 "register_operand" "=d")
(ashiftrt:SI (match_operand:SI 1 "register_operand" "0")
(const_int 16)))]
""
"
!TARGET_68060
"
"swap %0
\;
ext%.l %0")
;; On the 68000, this makes faster code in a special case.
...
...
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