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
4c70a4f3
Commit
4c70a4f3
authored
Nov 18, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(peepholes for two DF load/store): New peepholes.
From-SVN: r8517
parent
35068b43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
gcc/config/rs6000/rs6000.md
+24
-0
No files found.
gcc/config/rs6000/rs6000.md
View file @
4c70a4f3
...
@@ -4436,6 +4436,30 @@
...
@@ -4436,6 +4436,30 @@
"@
"@
stfdux %3,%0,%2
stfdux %3,%0,%2
stfdu %3,%2(%0)")
stfdu %3,%2(%0)")
;; Peephole to convert two consecutive FP loads or stores into lfq/stfq.
(define_peephole
[
(set (match_operand:DF 0 "gpc_reg_operand" "=f")
(match_operand:DF 1 "memory_operand" ""))
(set (match_operand:DF 2 "gpc_reg_operand" "=f")
(match_operand:DF 3 "memory_operand" ""))]
"TARGET_POWER2
&& registers_ok_for_quad_peep (operands
[
0
]
, operands
[
2
]
)
&& ! MEM_VOLATILE_P (operands
[
1
]
) && ! MEM_VOLATILE_P (operands
[
3
]
)
&& addrs_ok_for_quad_peep (XEXP (operands
[
1
]
, 0), XEXP (operands
[
3
]
, 0))"
"lfq%U1%X1 %0,%1")
(define_peephole
[
(set (match_operand:DF 0 "memory_operand" "")
(match_operand:DF 1 "gpc_reg_operand" "f"))
(set (match_operand:DF 2 "memory_operand" "")
(match_operand:DF 3 "gpc_reg_operand" "f"))]
"TARGET_POWER2
&& registers_ok_for_quad_peep (operands
[
1
]
, operands
[
3
]
)
&& ! MEM_VOLATILE_P (operands
[
0
]
) && ! MEM_VOLATILE_P (operands
[
2
]
)
&& addrs_ok_for_quad_peep (XEXP (operands
[
0
]
, 0), XEXP (operands
[
2
]
, 0))"
"stfq%U0%X0 %1,%0")
;; Next come insns related to the calling sequence.
;; Next come insns related to the calling sequence.
;;
;;
...
...
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