removed constraints in expander.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 28 Jul 2000 16:03:17 +0000 (16:03 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 28 Jul 2000 16:03:17 +0000 (16:03 +0000)
split =rf constraints into =r,f

From-SVN: r35318

gcc/ChangeLog
gcc/config/arm/arm.md

index ba284e5b592e3d882741e0553f58e9e961295d59..fef22b694d71682d448b66890703a656cc9b14f8 100644 (file)
@@ -1,3 +1,12 @@
+2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/arm/arm.md ("call_value"): removed constraints.
+       Constraints are ignored in expanders.
+       (*call_value_reg): split =rf into various constraints.
+       (*call_value_mem): same
+       (*call_value_symbol): same
+       (*sibcall_value_insn): same
+
 2000-07-28  Philipp Thomas  <pthomas@suse.de>
 
        * install.texi (--enable-nls): Change the description of the NLS
index 0b75a0e41ccb663c07bccd344bdd51f89fd2d823..2ebfc88753a019a3621700b9065c08e09fecc7bb 100644 (file)
 )
 
 (define_expand "call_value"
-  [(parallel [(set (match_operand       0 "" "=rf")
-                  (call (match_operand 1 "memory_operand" "m")
-                        (match_operand 2 "general_operand" "g")))
+  [(parallel [(set (match_operand       0 "" "")
+                  (call (match_operand 1 "memory_operand" "")
+                        (match_operand 2 "general_operand" "")))
              (use (match_operand 3 "" ""))
              (clobber (reg:SI 14))])]
   "TARGET_EITHER"
 )
 
 (define_insn "*call_value_reg"
-  [(set (match_operand 0 "" "=rf")
-        (call (mem:SI (match_operand:SI 1 "s_register_operand" "r"))
+  [(set (match_operand 0 "" "=r,f")
+        (call (mem:SI (match_operand:SI 1 "s_register_operand" "r,r"))
              (match_operand 2 "" "")))
    (use (match_operand 3 "" ""))
    (clobber (reg:SI 14))]
 )
 
 (define_insn "*call_value_mem"
-  [(set (match_operand 0 "" "=rf")
-       (call (mem:SI (match_operand:SI 1 "memory_operand" "m"))
+  [(set (match_operand 0 "" "=r,f")
+       (call (mem:SI (match_operand:SI 1 "memory_operand" "m,m"))
              (match_operand 2 "" "")))
    (use (match_operand 3 "" ""))
    (clobber (reg:SI 14))]
 )
 
 (define_insn "*call_value_symbol"
-  [(set (match_operand 0 "s_register_operand" "=rf")
-       (call (mem:SI (match_operand:SI 1 "" "X"))
+  [(set (match_operand 0 "s_register_operand" "=r,f")
+       (call (mem:SI (match_operand:SI 1 "" "X,X"))
        (match_operand:SI 2 "" "")))
    (use (match_operand 3 "" ""))
    (clobber (reg:SI 14))]
 )
 
 (define_insn "*sibcall_value_insn"
- [(set (match_operand 0 "s_register_operand" "=rf")
-       (call (mem:SI (match_operand:SI 1 "" "X"))
+ [(set (match_operand 0 "s_register_operand" "=r,f")
+       (call (mem:SI (match_operand:SI 1 "" "X,X"))
             (match_operand 2 "" "")))
   (use (match_operand 3 "" ""))]
   "TARGET_ARM && GET_CODE (operands[1]) == SYMBOL_REF"