(call*): Use symbolic_operand not immediate_operand.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 1994 02:16:28 +0000 (02:16 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 1994 02:16:28 +0000 (02:16 +0000)
Use 's' constraint not 'i' constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7781 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.md

index 248fa53..f2af473 100644 (file)
   [(set_attr "type" "call")])
 
 (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 "" ""))
    (clobber (reg:SI 15))]
   ;;- Do not use operand 1 for most machines.
   [(set_attr "type" "call")])
 
 (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 "" ""))
    (clobber (reg:DI 15))]
   ;;- Do not use operand 1 for most machines.
 ;; This is a call that wants a structure value.
 ;; There is no such critter for v9 (??? we may need one anyway).
 (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 2 "immediate_operand" "")
    (clobber (reg:SI 15))]
 
 (define_insn ""
   [(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 "" "")))
    (clobber (reg:SI 15))]
   ;;- Do not use operand 2 for most machines.
 
 (define_insn ""
   [(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 "" "")))
    (clobber (reg:DI 15))]
   ;;- Do not use operand 2 for most machines.
 ;; returns a structure value and expects to skip an unimp instruction.
 
 (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))
    (match_operand:DI 1 "memory_operand" "o")
    (match_operand 2 "" "")
   [(set_attr "type" "multi")])
 
 (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))
    (match_operand:DI 1 "memory_operand" "o")
    (match_operand 2 "" "")
 
 (define_peephole
   [(parallel [(set (match_operand 0 "" "")
-                  (call (mem:SI (match_operand:SI 1 "call_operand_address" "pi"))
+                  (call (mem:SI (match_operand:SI 1 "call_operand_address" "ps"))
                         (match_operand 2 "" "")))
              (clobber (reg:SI 15))])
    (set (pc) (label_ref (match_operand 3 "" "")))]
 }")
 
 (define_peephole
-  [(parallel [(call (mem:SI (match_operand:SI 0 "call_operand_address" "pi"))
+  [(parallel [(call (mem:SI (match_operand:SI 0 "call_operand_address" "ps"))
                    (match_operand 1 "" ""))
              (clobber (reg:SI 15))])
    (set (pc) (label_ref (match_operand 2 "" "")))]
 
 (define_peephole
   [(parallel [(set (match_operand 0 "" "")
-                  (call (mem:SI (match_operand:DI 1 "call_operand_address" "pi"))
+                  (call (mem:SI (match_operand:DI 1 "call_operand_address" "ps"))
                         (match_operand 2 "" "")))
              (clobber (reg:DI 15))])
    (set (pc) (label_ref (match_operand 3 "" "")))]
 }")
 
 (define_peephole
-  [(parallel [(call (mem:SI (match_operand:DI 0 "call_operand_address" "pi"))
+  [(parallel [(call (mem:SI (match_operand:DI 0 "call_operand_address" "ps"))
                    (match_operand 1 "" ""))
              (clobber (reg:DI 15))])
    (set (pc) (label_ref (match_operand 2 "" "")))]