aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2012-04-09 00:50:33 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2012-04-09 00:50:33 +0000
commit7df2d73c7ee27406b56e7223f871a845d529ba22 (patch)
tree3bbf0c9da3f389d35e2562f2113c835e19768561 /gcc
parent5418de56f745ad75f3f72dffe4ff56f19cb061d1 (diff)
downloadgcc-7df2d73c7ee27406b56e7223f871a845d529ba22.zip
gcc-7df2d73c7ee27406b56e7223f871a845d529ba22.tar.gz
gcc-7df2d73c7ee27406b56e7223f871a845d529ba22.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sh/constraints.md15
2 files changed, 14 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 29185f1..2e22bcd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/sh/constraints.md b/gcc/config/sh/constraints.md
index 1f2ccf9..3a5fc36 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))")