constraints.md: Update list of constraints in comment block.
authorOleg Endo <olegendo@gcc.gnu.org>
Mon, 9 Apr 2012 00:50:33 +0000 (00:50 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Mon, 9 Apr 2012 00:50:33 +0000 (00:50 +0000)
* config/sh/constraints.md: Update list of constraints in
comment block.
(Sr0): Remove unused memory constraint.

From-SVN: r186234

gcc/ChangeLog
gcc/config/sh/constraints.md

index 29185f1..2e22bcd 100644 (file)
@@ -1,3 +1,9 @@
+2012-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * config/sh/constraints.md: Update list of constraints in
+       comment block.
+       (Sr0): Remove unused memory constraint.
+
 2012-04-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        * tree-pretty-print.h: Update comment.
index 1f2ccf9..3a5fc36 100644 (file)
 ;;  P27: 1 | 2 | 8 | 16
 ;;  Pso: 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128
 ;;  Psz: ~1 | ~2 | ~4 | ~8 | ~16 | ~32 | ~64 | ~128
+;; G: Floating point 0
+;; H: Floating point 1
 ;; Q: pc relative load operand
 ;; Rxx: reserved for exotic register classes.
-;; Sxx: extra memory (storage) constraints
-;;  Sua: unaligned memory operations
+;; Sxx: extra memory constraints
+;;  Sua: unaligned memory address
+;;  Sbv: QImode address without displacement
+;;  Sbw: QImode address with 12 bit displacement
+;;  Snd: address without displacement
+;;  Sdd: address with displacement
 ;; W: vector
 ;; Z: zero in any mode
 ;;
            (match_test "~ival == 64")
            (match_test "~ival == 128"))))
 
-(define_memory_constraint "Sr0"
-  "@internal"
-  (and (match_test "memory_operand (op, GET_MODE (op))")
-       (match_test "!refers_to_regno_p (R0_REG, R0_REG + 1, op, (rtx *) 0)")))
-
 (define_memory_constraint "Sua"
   "@internal"
   (and (match_test "memory_operand (op, GET_MODE (op))")