[AArch64] Remove Usa constraint.
authormshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2013 14:16:50 +0000 (14:16 +0000)
committermshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2013 14:16:50 +0000 (14:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199260 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/config/aarch64/constraints.md
gcc/doc/md.texi

index 3ba9d4e..4db76e3 100644 (file)
@@ -1,6 +1,13 @@
 2013-05-23  Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
            Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
+       * config/aarch64/aarch64.md (*movdi_aarch64): Replace Usa with S.
+       * config/aarch64/constraints.md (Usa): Remove.
+       * doc/md.texi (AArch64 Usa): Remove.
+
+2013-05-23  Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
        * config/aarch64/aarch64-protos.h (aarch64_mov_operand_p): Define.
        * config/aarch64/aarch64.c (aarch64_mov_operand_p): Define.
        * config/aarch64/predicates.md (aarch64_const_address): Remove.
index b27bcda..e1ec48f 100644 (file)
 )
 
 (define_insn "*movdi_aarch64"
-  [(set (match_operand:DI 0 "nonimmediate_operand" "=r,k,r,r,r,*w,m,  m,r,  r,  *w, r,*w,w")
-       (match_operand:DI 1 "aarch64_mov_operand"  " r,r,k,N,m, m,rZ,*w,Usa,Ush,rZ,*w,*w,Dd"))]
+  [(set (match_operand:DI 0 "nonimmediate_operand" "=r,k,r,r,r,*w,m,  m,r,r,  *w, r,*w,w")
+       (match_operand:DI 1 "aarch64_mov_operand"  " r,r,k,N,m, m,rZ,*w,S,Ush,rZ,*w,*w,Dd"))]
   "(register_operand (operands[0], DImode)
     || aarch64_reg_or_zero (operands[1], DImode))"
   "@
index 18ac16a..d9c18e6 100644 (file)
   "Integer constant zero."
   (match_test "op == const0_rtx"))
 
-(define_constraint "Usa"
-  "A constraint that matches an absolute symbolic address."
-  (and (match_code "const,symbol_ref")
-       (match_test "aarch64_symbolic_address_p (op)")))
-
 (define_constraint "Ush"
   "A constraint that matches an absolute symbolic address high part."
   (and (match_code "high")
index 3d65a53..8c72c85 100644 (file)
@@ -1711,9 +1711,6 @@ Floating point constant zero
 @item Z
 Integer constant zero
 
-@item Usa
-An absolute symbolic address
-
 @item Ush
 The high part (bits 12 and upwards) of the pc-relative address of a symbol
 within 4GB of the instruction