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
72f4648e
Commit
72f4648e
authored
Sep 28, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(orcc peephole): Don't allow FP regs to match pattern.
From-SVN: r2274
parent
339ae22d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/config/sparc/sparc.md
+5
-3
No files found.
gcc/config/sparc/sparc.md
View file @
72f4648e
...
...
@@ -2945,7 +2945,8 @@
"std %3,%2")
;; Optimize the case of following a reg-reg move with a test
;; of reg just moved.
;; of reg just moved. Don't allow floating point regs for operand 1.
;; This can result from a float to fix conversion.
(define_peephole
[
(set (match_operand:SI 0 "register_operand" "=r")
...
...
@@ -2953,8 +2954,9 @@
(set (reg:CC 0)
(compare:CC (match_operand:SI 2 "register_operand" "r")
(const_int 0)))]
"rtx_equal_p (operands
[
2
]
, operands
[
0
]
)
|| rtx_equal_p (operands
[
2
]
, operands
[
1
]
)"
"(rtx_equal_p (operands
[
2
]
, operands
[
0
]
)
|| rtx_equal_p (operands
[
2
]
, operands
[
1
]
))
&& ! FP_REG_P (operands
[
1
]
)"
"orcc %1,%%g0,%0")
;; Do {sign,zero}-extended compares somewhat more efficiently.
...
...
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