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
ebe9f727
Commit
ebe9f727
authored
Sep 11, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added DLB/DSTB peepholes for HFmode.
Corrected mnemonics for HImode DSTB peephole. From-SVN: r10314
parent
d5f27408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
+19
-1
gcc/config/1750a/1750a.md
+19
-1
No files found.
gcc/config/1750a/1750a.md
View file @
ebe9f727
...
...
@@ -1295,6 +1295,15 @@
&& INTVAL(operands
[
2
]
) <= 255"
"dlb r%1,%2")
(define_peephole
[
(set (match_operand:HF 0 "register_operand" "=r")
(mem:HF (plus:QI (match_operand:QI 1 "register_operand" "x")
(match_operand:QI 2 "immediate_operand" "L"))))
]
"REGNO(operands
[
0
]
) == 0 && REGNO(operands
[
1
]
) >= 12
&& INTVAL(operands
[
2
]
) <= 255"
"dlb r%1,%2")
;; Store Base
(define_peephole
[
(set (mem:QI (plus:QI (match_operand:QI 0 "register_operand" "x")
...
...
@@ -1313,7 +1322,16 @@
]
"REGNO(operands
[
2
]
) == 0 && REGNO(operands
[
0
]
) >= 12
&& INTVAL(operands
[
1
]
) <= 255"
"stb r%0,%1")
"dstb r%0,%1")
(define_peephole
[
(set (mem:HF (plus:QI (match_operand:QI 0 "register_operand" "x")
(match_operand:QI 1 "immediate_operand" "L")))
(match_operand:HF 2 "register_operand" "r"))
]
"REGNO(operands
[
2
]
) == 0 && REGNO(operands
[
0
]
) >= 12
&& INTVAL(operands
[
1
]
) <= 255"
"dstb r%0,%1")
;; Eliminate the redundant load in a store/load sequence
(define_peephole
...
...
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