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
d8ddc751
Commit
d8ddc751
authored
Apr 26, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove bad peepholes that improperly use dead_or_set_p.
From-SVN: r9491
parent
b095754a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
gcc/config/pyr/pyr.md
+0
-30
No files found.
gcc/config/pyr/pyr.md
View file @
d8ddc751
...
...
@@ -1136,36 +1136,6 @@
return
\"
mtstw %1,%0
\"
;
")
;; Same for HI and QI mode move-test as well.
(define_peephole
[
(set (match_operand:HI 0 "register_operand" "=r")
(match_operand:HI 1 "nonimmediate_operand" "rm"))
(set (match_operand:SI 2 "register_operand" "=r")
(sign_extend:SI (match_operand:HI 3 "nonimmediate_operand" "rm")))
(set (cc0) (match_dup 2))]
"dead_or_set_p (insn, operands
[
2
]
)
&& (rtx_equal_p (operands
[
3
]
, operands
[
0
]
)
|| rtx_equal_p (operands
[
3
]
, operands
[
1
]
))"
"
*
cc_status.flags |= CC_NO_OVERFLOW;
return
\"
cvthw %1,%0
\"
;
")
(define_peephole
[
(set (match_operand:QI 0 "register_operand" "=r")
(match_operand:QI 1 "nonimmediate_operand" "rm"))
(set (match_operand:SI 2 "register_operand" "=r")
(sign_extend:SI (match_operand:QI 3 "nonimmediate_operand" "rm")))
(set (cc0) (match_dup 2))]
"dead_or_set_p (insn, operands
[
2
]
)
&& (rtx_equal_p (operands
[
3
]
, operands
[
0
]
)
|| rtx_equal_p (operands
[
3
]
, operands
[
1
]
))"
"
*
cc_status.flags |= CC_NO_OVERFLOW;
return
\"
cvtbw %1,%0
\"
;
")
;; Optimize loops with an incremented/decremented variable.
(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