From 7df2d73c7ee27406b56e7223f871a845d529ba22 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Mon, 9 Apr 2012 00:50:33 +0000 Subject: [PATCH] constraints.md: Update list of constraints in comment block. * config/sh/constraints.md: Update list of constraints in comment block. (Sr0): Remove unused memory constraint. From-SVN: r186234 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/constraints.md | 15 ++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 29185f191dc..2e22bcdd1cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-04-09 Oleg Endo + + * config/sh/constraints.md: Update list of constraints in + comment block. + (Sr0): Remove unused memory constraint. + 2012-04-08 Manuel López-Ibáñez * tree-pretty-print.h: Update comment. diff --git a/gcc/config/sh/constraints.md b/gcc/config/sh/constraints.md index 1f2ccf95107..3a5fc364f9c 100644 --- a/gcc/config/sh/constraints.md +++ b/gcc/config/sh/constraints.md @@ -37,10 +37,16 @@ ;; 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 ;; @@ -251,11 +257,6 @@ (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))") -- 2.30.2