OSDN Git Service

PR target/5712
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Mar 2002 16:32:26 +0000 (16:32 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Mar 2002 16:32:26 +0000 (16:32 +0000)
* arm.md (movaddr, movaddr_insn): Delete.

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

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

index dfe2c0a..fea2d33 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-15  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/5712
+       * arm.md (movaddr, movaddr_insn): Delete.
+
 2002-03-15  Jason Merrill  <jason@redhat.com>
 
        * toplev.c (wrapup_global_declarations): Clarify variable handling.
index 52be557..cb59ece 100644 (file)
   }"
 )
 
-(define_expand "movaddr"
-  [(set (match_operand:SI 0 "s_register_operand" "")
-       (match_operand:DI 1 "address_operand" ""))]
-  "TARGET_ARM"
-  ""
-)
-
-(define_insn "*movaddr_insn"
-  [(set (match_operand:SI 0 "s_register_operand" "=r")
-       (match_operand:DI 1 "address_operand" "p"))]
-  "TARGET_ARM
-   && reload_completed
-   && (GET_CODE (operands[1]) == LABEL_REF
-       || (GET_CODE (operands[1]) == CONST
-          && GET_CODE (XEXP (operands[1], 0)) == PLUS
-          && GET_CODE (XEXP (XEXP (operands[1], 0), 0)) == LABEL_REF
-          && GET_CODE (XEXP (XEXP (operands[1], 0), 1)) == CONST_INT))"
-  "adr%?\\t%0, %a1"
-  [(set_attr "predicable" "yes")]
-)
-
 ;; When generating pic, we need to load the symbol offset into a register.
 ;; So that the optimizer does not confuse this with a normal symbol load
 ;; we use an unspec.  The offset will be loaded from a constant pool entry,