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
a207f649
Commit
a207f649
authored
Feb 29, 2004
by
Kazu Hirata
Committed by
Kazu Hirata
Feb 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.md: Tweak comments about peephole2's.
From-SVN: r78657
parent
2750f3f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
11 deletions
+23
-11
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.md
+19
-11
No files found.
gcc/ChangeLog
View file @
a207f649
2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md: Tweak comments about peephole2's.
2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl>
PR middle-end/14203
...
...
gcc/config/h8300/h8300.md
View file @
a207f649
...
...
@@ -4176,12 +4176,12 @@
;; Transform
;;
;; cmp.w #1,r0
;; b
hi
.L1
;; b
gt
.L1
;;
;; into
;;
;; shar.w r0
;; b
ne
.L1
;; b
gt
.L1
(define_peephole2
[
(set (cc0)
...
...
@@ -4223,12 +4223,12 @@
;; Transform
;;
;; cmp.w #255,r0
;; b
hi
.L1
;; b
gt
.L1
;;
;; into
;;
;; mov.b r0h,r0h
;; b
ne
.L1
;; b
gt
.L1
(define_peephole2
[
(set (cc0)
...
...
@@ -4448,13 +4448,13 @@
;; Transform
;;
;; cmp.l #1,er0
;; b
hi
.L1
;; b
gt
.L1
;;
;; into
;;
;; mov.l er0,er1
;; shar.l er1
;; b
ne
.L1
;; b
gt
.L1
;; We avoid this transformation if we see more than one copy of the
;; same compare insn immediately before this one.
...
...
@@ -4503,12 +4503,12 @@
;; Transform
;;
;; cmp.l #1,er0
;; b
hi
.L1
;; b
gt
.L1
;;
;; into
;;
;; shar.l er0
;; b
ne
.L1
;; b
gt
.L1
(define_peephole2
[
(set (cc0)
...
...
@@ -4550,13 +4550,13 @@
;; Transform
;;
;; cmp.l #15,er0
;; b
hi
.L1
;; b
gt
.L1
;;
;; into
;;
;; and #240,r0l
;; mov.l er0,er0
;; b
ne
.L1
;; b
gt
.L1
(define_peephole2
[
(set (cc0)
...
...
@@ -4599,7 +4599,15 @@
}
operands
[
5
]
= GEN_INT (~INTVAL (operands
[
1
]
));")
;; Transform A <= 65535 to (A & 0xffff0000) == 0.
;; Transform
;;
;; cmp.l #65535,er0
;; bgt .L1
;;
;; into
;;
;; mov.l e0,e0
;; bgt .L1
(define_peephole2
[
(set (cc0)
...
...
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