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
242e8072
Commit
242e8072
authored
Feb 22, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ffssi2): Use gpc_reg_operand predicate.
(Some maskir patterns): Likewise. (ffsdi2): Likewise. From-SVN: r9032
parent
94d7001a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/config/rs6000/rs6000.md
+6
-6
No files found.
gcc/config/rs6000/rs6000.md
View file @
242e8072
...
...
@@ -1040,8 +1040,8 @@
[
(set_attr "type" "compare")
]
)
(define_insn "ffssi2"
[
(set (match_operand:SI 0 "
register
_operand" "=&r")
(ffs:SI (match_operand:SI 1 "
register
_operand" "r")))]
[
(set (match_operand:SI 0 "
gpc_reg
_operand" "=&r")
(ffs:SI (match_operand:SI 1 "
gpc_reg
_operand" "r")))]
""
"neg %0,%1
\;
and %0,%0,%1
\;
{cntlz|cntlzw} %0,%0
\;
{sfi|subfic} %0,%0,32"
[
(set_attr "length" "16")
]
)
...
...
@@ -1764,7 +1764,7 @@
"maskir %0,%3,%2")
(define_insn ""
[
(set (match_operand:SI 0 "
register
_operand" "=r")
[
(set (match_operand:SI 0 "
gpc_reg
_operand" "=r")
(ior:SI (and:SI (not:SI (match_operand:SI 2 "gpc_reg_operand" "r"))
(match_operand:SI 1 "gpc_reg_operand" "0"))
(and:SI (match_operand:SI 3 "gpc_reg_operand" "r")
...
...
@@ -1813,7 +1813,7 @@
(and:SI (match_operand:SI 3 "gpc_reg_operand" "r")
(match_dup 2)))
(const_int 0)))
(set (match_operand:SI 0 "
register
_operand" "=r")
(set (match_operand:SI 0 "
gpc_reg
_operand" "=r")
(ior:SI (and:SI (not:SI (match_dup 2)) (match_dup 1))
(and:SI (match_dup 3) (match_dup 2))))]
"TARGET_POWER"
...
...
@@ -3559,8 +3559,8 @@
;; PowerPC64 DImode operations.
(define_insn "ffsdi2"
[
(set (match_operand:DI 0 "
register
_operand" "=&r")
(ffs:DI (match_operand:DI 1 "
register
_operand" "r")))]
[
(set (match_operand:DI 0 "
gpc_reg
_operand" "=&r")
(ffs:DI (match_operand:DI 1 "
gpc_reg
_operand" "r")))]
"TARGET_POWERPC64"
"neg %0,%1
\;
and %0,%0,%1
\;
cntlzd %0,%0
\;
subfic %0,%0,64"
[
(set_attr "length" "16")
]
)
...
...
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