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
b77dfefc
Commit
b77dfefc
authored
Jan 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fsel): Remove insns with record bit set.
From-SVN: r6435
parent
28c1753a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
56 deletions
+6
-56
gcc/config/rs6000/rs6000.md
+6
-56
No files found.
gcc/config/rs6000/rs6000.md
View file @
b77dfefc
...
...
@@ -2349,35 +2349,6 @@
"fsel %0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:CCFP 0 "cc_reg_operand" "=y")
(compare:CCFP
(if_then_else:SF (ge (match_operand:SF 1 "gpc_reg_operand" "f")
(const_int 0))
(match_operand:SF 2 "gpc_reg_operand" "f")
(match_operand:SF 3 "gpc_reg_operand" "f"))
(const_int 0)))
(clobber (match_scratch:SF 4 "=f"))]
"TARGET_PPCFPX"
"fsel. %4,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:CCFP 4 "cc_reg_operand" "=y")
(compare:CCFP
(if_then_else:SF (ge (match_operand:SF 1 "gpc_reg_operand" "f")
(const_int 0))
(match_operand:SF 2 "gpc_reg_operand" "f")
(match_operand:SF 3 "gpc_reg_operand" "f"))
(const_int 0)))
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(if_then_else:SF (ge (match_dup 1) (const_int 0))
(match_dup 2)
(match_dup 3)))]
"TARGET_PPCFPX"
"fsel. %0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn "negdf2"
[
(set (match_operand:DF 0 "gpc_reg_operand" "=f")
(neg:DF (match_operand:DF 1 "gpc_reg_operand" "f")))]
...
...
@@ -2473,10 +2444,12 @@
"TARGET_PPCFPX || TARGET_POWER2"
"fsqrt %0,%1"
[
(set_attr "type" "dsqrt")
]
)
;; For SMIN, SMAX, UMIN, and UMAX, we use DEFINE_EXPAND's that involve a fsel
;; instruction and some auxiliary computations. Then we just have a single
;; DEFINE_INSN for fsel and the define_splits to make them if made by
;; combine.
(define_expand "maxdf3"
[
(set (match_dup 3)
(minus:DF (match_operand:DF 1 "gpc_reg_operand" "")
...
...
@@ -2489,6 +2462,7 @@
"TARGET_PPCFPX"
"
{ operands
[
3
]
= gen_reg_rtx (DFmode); }")
(define_split
[
(set (match_operand:DF 0 "gpc_reg_operand" "")
(smax:DF (match_operand:DF 1 "gpc_reg_operand" "")
...
...
@@ -2503,6 +2477,7 @@
(match_dup 1)
(match_dup 2)))]
"")
(define_expand "mindf3"
[
(set (match_dup 3)
(minus:DF (match_operand:DF 2 "gpc_reg_operand" "")
...
...
@@ -2515,6 +2490,7 @@
"TARGET_PPCFPX"
"
{ operands
[
3
]
= gen_reg_rtx (DFmode); }")
(define_split
[
(set (match_operand:DF 0 "gpc_reg_operand" "")
(smin:DF (match_operand:DF 1 "gpc_reg_operand" "")
...
...
@@ -2529,6 +2505,7 @@
(match_dup 1)
(match_dup 2)))]
"")
(define_insn ""
[
(set (match_operand:DF 0 "gpc_reg_operand" "=f")
(if_then_else:DF (ge (match_operand:DF 1 "gpc_reg_operand" "f")
...
...
@@ -2538,33 +2515,6 @@
"TARGET_PPCFPX"
"fsel %0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:CCFP 0 "cc_reg_operand" "=y")
(compare:CCFP
(if_then_else:DF (ge (match_operand:DF 1 "gpc_reg_operand" "f")
(const_int 0))
(match_operand:DF 2 "gpc_reg_operand" "f")
(match_operand:DF 3 "gpc_reg_operand" "f"))
(const_int 0)))
(clobber (match_scratch:DF 4 "=f"))]
"TARGET_PPCFPX"
"fsel. %4,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:CCFP 4 "cc_reg_operand" "=y")
(compare:CCFP
(if_then_else:DF (ge (match_operand:DF 1 "gpc_reg_operand" "f")
(const_int 0))
(match_operand:DF 2 "gpc_reg_operand" "f")
(match_operand:DF 3 "gpc_reg_operand" "f"))
(const_int 0)))
(set (match_operand:DF 0 "gpc_reg_operand" "=f")
(if_then_else:DF (ge (match_dup 1) (const_int 0))
(match_dup 2)
(match_dup 3)))]
"TARGET_PPCFPX"
"fsel. %0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
;; Conversions to and from floating-point.
(define_expand "floatsidf2"
...
...
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