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
1d01c176
Commit
1d01c176
authored
Jan 07, 1993
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add floating point ld/st indexed patterns.
From-SVN: r3145
parent
010c262f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
gcc/config/pa/pa.md
+40
-0
No files found.
gcc/config/pa/pa.md
View file @
1d01c176
...
@@ -1225,6 +1225,26 @@
...
@@ -1225,6 +1225,26 @@
[
(set_attr "type" "fpalu,move,fpstore,store,fpload,load,fpload,load")
[
(set_attr "type" "fpalu,move,fpstore,store,fpload,load,fpload,load")
(set_attr "length" "1,2,1,2,1,2,3,3")])
(set_attr "length" "1,2,1,2,1,2,3,3")])
(define_insn ""
[
(set (match_operand:DF 0 "register_operand" "=fx")
(mem:DF (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "r")
(const_int 8))
(match_operand:SI 2 "register_operand" "r"))))]
"! TARGET_DISABLE_INDEXING"
"flddx,s %1(0,%2),%0"
[
(set_attr "type" "fpload")
(set_attr "length" "1")])
(define_insn ""
[
(set (mem:DF (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "r")
(const_int 8))
(match_operand:SI 2 "register_operand" "r")))
(match_operand:DF 0 "register_operand" "fx"))]
"! TARGET_DISABLE_INDEXING"
"fstdx,s %0,%1(0,%2)"
[
(set_attr "type" "fpstore")
(set_attr "length" "1")])
(define_expand "movdi"
(define_expand "movdi"
[
(set (match_operand:DI 0 "reg_or_nonsymb_mem_operand" "")
[
(set (match_operand:DI 0 "reg_or_nonsymb_mem_operand" "")
(match_operand:DI 1 "general_operand" ""))]
(match_operand:DI 1 "general_operand" ""))]
...
@@ -1388,6 +1408,26 @@
...
@@ -1388,6 +1408,26 @@
stw%M0 %r1,%0"
stw%M0 %r1,%0"
[
(set_attr "type" "fpalu,move,load,fpload,fpload,load,fpstore,store")
[
(set_attr "type" "fpalu,move,load,fpload,fpload,load,fpstore,store")
(set_attr "length" "1,1,2,2,1,1,1,1")])
(set_attr "length" "1,1,2,2,1,1,1,1")])
(define_insn ""
[
(set (match_operand:SF 0 "register_operand" "=fx")
(mem:SF (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "r")
(const_int 4))
(match_operand:SI 2 "register_operand" "r"))))]
"! TARGET_DISABLE_INDEXING"
"fldwx,s %1(0,%2),%0"
[
(set_attr "type" "fpload")
(set_attr "length" "1")])
(define_insn ""
[
(set (mem:SF (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "r")
(const_int 4))
(match_operand:SI 2 "register_operand" "r")))
(match_operand:SF 0 "register_operand" "fx"))]
"! TARGET_DISABLE_INDEXING"
"fstwx,s %0,%1(0,%2)"
[
(set_attr "type" "fpstore")
(set_attr "length" "1")])
;;- zero extension instructions
;;- zero extension instructions
...
...
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