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
00751805
Commit
00751805
authored
Jan 19, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(plus of gtu patterns): Add case to handle immediates.
From-SVN: r3285
parent
cfcf04a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
19 deletions
+28
-19
gcc/config/rs6000/rs6000.md
+28
-19
No files found.
gcc/config/rs6000/rs6000.md
View file @
00751805
...
@@ -4442,38 +4442,47 @@
...
@@ -4442,38 +4442,47 @@
[
(set_attr "type" "compare")
]
)
[
(set_attr "type" "compare")
]
)
(define_insn ""
(define_insn ""
[
(set (match_operand:SI 0 "gpc_reg_operand" "=r,r")
[
(set (match_operand:SI 0 "gpc_reg_operand" "=r,r
,r
")
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r")
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r
,r
")
(match_operand:SI 2 "reg_or_short_operand" "
rI
,rI"))
(match_operand:SI 2 "reg_or_short_operand" "
I,r
,rI"))
(match_operand:SI 3 "reg_or_short_operand" "r,I")))
(match_operand:SI 3 "reg_or_short_operand" "r,
r,
I")))
(clobber (match_scratch:SI 4 "=&r,&r"))]
(clobber (match_scratch:SI 4 "=&r,&r
,&r
"))]
""
""
"sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3 %0,%4,%3")
"@
ai %4,%1,%k2
\;
aze %0,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3 %0,%4,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3 %0,%4,%3")
(define_insn ""
(define_insn ""
[
(set (match_operand:CC 0 "cc_reg_operand" "=x,x")
[
(set (match_operand:CC 0 "cc_reg_operand" "=x,x
,x
")
(compare:CC
(compare:CC
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r")
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r
,r
")
(match_operand:SI 2 "reg_or_short_operand" "
rI
,rI"))
(match_operand:SI 2 "reg_or_short_operand" "
I,r
,rI"))
(match_operand:SI 3 "reg_or_short_operand" "r,I"))
(match_operand:SI 3 "reg_or_short_operand" "r,
r,
I"))
(const_int 0)))
(const_int 0)))
(clobber (match_scratch:SI 4 "=&r,&r"))]
(clobber (match_scratch:SI 4 "=&r,&r
,&r
"))]
""
""
"sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %4,%4,%3"
"@
ai %4,%1,%k2
\;
aze. %0,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %0,%4,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %0,%4,%3"
[
(set_attr "type" "compare")
]
)
[
(set_attr "type" "compare")
]
)
(define_insn ""
(define_insn ""
[
(set (match_operand:CC 5 "cc_reg_operand" "=x,x")
[
(set (match_operand:CC 5 "cc_reg_operand" "=x,x
,x
")
(compare:CC
(compare:CC
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r")
(plus:SI (gtu:SI (match_operand:SI 1 "gpc_reg_operand" "r,r
,r
")
(match_operand:SI 2 "reg_or_short_operand" "
rI
,rI"))
(match_operand:SI 2 "reg_or_short_operand" "
I,r
,rI"))
(match_operand:SI 3 "reg_or_short_operand" "r,I"))
(match_operand:SI 3 "reg_or_short_operand" "r,
r,
I"))
(const_int 0)))
(const_int 0)))
(set (match_operand:SI 0 "gpc_reg_operand" "=r,r")
(set (match_operand:SI 0 "gpc_reg_operand" "=r,r
,r
")
(plus:SI (gtu:SI (match_dup 1) (match_dup 2)) (match_dup 3)))
(plus:SI (gtu:SI (match_dup 1) (match_dup 2)) (match_dup 3)))
(clobber (match_scratch:SI 4 "=&r,&r"))]
(clobber (match_scratch:SI 4 "=&r,&r
,&r
"))]
""
""
"sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %0,%4,%3"
"@
ai %4,%1,%k2
\;
aze. %0,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %0,%4,%3
sf%I2 %4,%1,%2
\;
sfe %4,%4,%4
\;
sf%I3. %0,%4,%3"
[
(set_attr "type" "compare")
]
)
[
(set_attr "type" "compare")
]
)
(define_insn ""
(define_insn ""
...
...
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