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
2c435002
Commit
2c435002
authored
Jul 18, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(call*): Use symbolic_operand not immediate_operand.
Use 's' constraint not 'i' constraint. From-SVN: r7781
parent
9548c538
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
gcc/config/sparc/sparc.md
+11
-11
No files found.
gcc/config/sparc/sparc.md
View file @
2c435002
...
@@ -4687,7 +4687,7 @@
...
@@ -4687,7 +4687,7 @@
[
(set_attr "type" "call")
]
)
[
(set_attr "type" "call")
]
)
(define_insn ""
(define_insn ""
[
(call (mem:SI (match_operand:SI 0 "
immediate_operand" "i
"))
[
(call (mem:SI (match_operand:SI 0 "
symbolic_operand" "s
"))
(match_operand 1 "" ""))
(match_operand 1 "" ""))
(clobber (reg:SI 15))]
(clobber (reg:SI 15))]
;;- Do not use operand 1 for most machines.
;;- Do not use operand 1 for most machines.
...
@@ -4711,7 +4711,7 @@
...
@@ -4711,7 +4711,7 @@
[
(set_attr "type" "call")
]
)
[
(set_attr "type" "call")
]
)
(define_insn ""
(define_insn ""
[
(call (mem:SI (match_operand:DI 0 "
immediate_operand" "i
"))
[
(call (mem:SI (match_operand:DI 0 "
symbolic_operand" "s
"))
(match_operand 1 "" ""))
(match_operand 1 "" ""))
(clobber (reg:DI 15))]
(clobber (reg:DI 15))]
;;- Do not use operand 1 for most machines.
;;- Do not use operand 1 for most machines.
...
@@ -4740,7 +4740,7 @@
...
@@ -4740,7 +4740,7 @@
;; This is a call that wants a structure value.
;; This is a call that wants a structure value.
;; There is no such critter for v9 (??? we may need one anyway).
;; There is no such critter for v9 (??? we may need one anyway).
(define_insn ""
(define_insn ""
[
(call (mem:SI (match_operand:SI 0 "
immediate_operand" "i
"))
[
(call (mem:SI (match_operand:SI 0 "
symbolic_operand" "s
"))
(match_operand 1 "" ""))
(match_operand 1 "" ""))
(match_operand 2 "immediate_operand" "")
(match_operand 2 "immediate_operand" "")
(clobber (reg:SI 15))]
(clobber (reg:SI 15))]
...
@@ -4805,7 +4805,7 @@
...
@@ -4805,7 +4805,7 @@
(define_insn ""
(define_insn ""
[
(set (match_operand 0 "" "=rf")
[
(set (match_operand 0 "" "=rf")
(call (mem:SI (match_operand:SI 1 "
immediate_operand" "i
"))
(call (mem:SI (match_operand:SI 1 "
symbolic_operand" "s
"))
(match_operand 2 "" "")))
(match_operand 2 "" "")))
(clobber (reg:SI 15))]
(clobber (reg:SI 15))]
;;- Do not use operand 2 for most machines.
;;- Do not use operand 2 for most machines.
...
@@ -4831,7 +4831,7 @@
...
@@ -4831,7 +4831,7 @@
(define_insn ""
(define_insn ""
[
(set (match_operand 0 "" "=rf")
[
(set (match_operand 0 "" "=rf")
(call (mem:SI (match_operand:DI 1 "
immediate_operand" "i
"))
(call (mem:SI (match_operand:DI 1 "
symbolic_operand" "s
"))
(match_operand 2 "" "")))
(match_operand 2 "" "")))
(clobber (reg:DI 15))]
(clobber (reg:DI 15))]
;;- Do not use operand 2 for most machines.
;;- Do not use operand 2 for most machines.
...
@@ -4876,7 +4876,7 @@
...
@@ -4876,7 +4876,7 @@
;; returns a structure value and expects to skip an unimp instruction.
;; returns a structure value and expects to skip an unimp instruction.
(define_insn ""
(define_insn ""
[
(call (mem:SI (match_operand:SI 0 "
immediate_operand" "i
"))
[
(call (mem:SI (match_operand:SI 0 "
symbolic_operand" "s
"))
(const_int 0))
(const_int 0))
(match_operand:DI 1 "memory_operand" "o")
(match_operand:DI 1 "memory_operand" "o")
(match_operand 2 "" "")
(match_operand 2 "" "")
...
@@ -4907,7 +4907,7 @@
...
@@ -4907,7 +4907,7 @@
[
(set_attr "type" "multi")
]
)
[
(set_attr "type" "multi")
]
)
(define_insn ""
(define_insn ""
[
(call (mem:SI (match_operand:DI 0 "
immediate_operand" "i
"))
[
(call (mem:SI (match_operand:DI 0 "
symbolic_operand" "s
"))
(const_int 0))
(const_int 0))
(match_operand:DI 1 "memory_operand" "o")
(match_operand:DI 1 "memory_operand" "o")
(match_operand 2 "" "")
(match_operand 2 "" "")
...
@@ -5622,7 +5622,7 @@
...
@@ -5622,7 +5622,7 @@
(define_peephole
(define_peephole
[
(parallel
[
(set (match_operand 0 "" "")
[
(parallel
[
(set (match_operand 0 "" "")
(call (mem:SI (match_operand:SI 1 "call_operand_address" "p
i
"))
(call (mem:SI (match_operand:SI 1 "call_operand_address" "p
s
"))
(match_operand 2 "" "")))
(match_operand 2 "" "")))
(clobber (reg:SI 15))])
(clobber (reg:SI 15))])
(set (pc) (label_ref (match_operand 3 "" "")))]
(set (pc) (label_ref (match_operand 3 "" "")))]
...
@@ -5633,7 +5633,7 @@
...
@@ -5633,7 +5633,7 @@
}")
}")
(define_peephole
(define_peephole
[
(parallel
[
(call (mem:SI (match_operand:SI 0 "call_operand_address" "p
i
"))
[
(parallel
[
(call (mem:SI (match_operand:SI 0 "call_operand_address" "p
s
"))
(match_operand 1 "" ""))
(match_operand 1 "" ""))
(clobber (reg:SI 15))])
(clobber (reg:SI 15))])
(set (pc) (label_ref (match_operand 2 "" "")))]
(set (pc) (label_ref (match_operand 2 "" "")))]
...
@@ -5645,7 +5645,7 @@
...
@@ -5645,7 +5645,7 @@
(define_peephole
(define_peephole
[
(parallel
[
(set (match_operand 0 "" "")
[
(parallel
[
(set (match_operand 0 "" "")
(call (mem:SI (match_operand:DI 1 "call_operand_address" "p
i
"))
(call (mem:SI (match_operand:DI 1 "call_operand_address" "p
s
"))
(match_operand 2 "" "")))
(match_operand 2 "" "")))
(clobber (reg:DI 15))])
(clobber (reg:DI 15))])
(set (pc) (label_ref (match_operand 3 "" "")))]
(set (pc) (label_ref (match_operand 3 "" "")))]
...
@@ -5656,7 +5656,7 @@
...
@@ -5656,7 +5656,7 @@
}")
}")
(define_peephole
(define_peephole
[
(parallel
[
(call (mem:SI (match_operand:DI 0 "call_operand_address" "p
i
"))
[
(parallel
[
(call (mem:SI (match_operand:DI 0 "call_operand_address" "p
s
"))
(match_operand 1 "" ""))
(match_operand 1 "" ""))
(clobber (reg:DI 15))])
(clobber (reg:DI 15))])
(set (pc) (label_ref (match_operand 2 "" "")))]
(set (pc) (label_ref (match_operand 2 "" "")))]
...
...
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