From 378eb4b76e619ee5a3692bb728aa13eeabb38c4e Mon Sep 17 00:00:00 2001 From: aesok Date: Sat, 7 Jul 2007 19:55:12 +0000 Subject: [PATCH] * config/avr/constraints.md (define_memory_constraint "Q"): Fix the constraint description. * doc/md.texi: Update documentation of AVR constraints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126448 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/avr/constraints.md | 2 +- gcc/doc/md.texi | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2328ffa6829..6e75207f069 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-07-07 Eric Weddington + + * config/avr/constraints.md (define_memory_constraint "Q"): Fix + the constraint description. + * doc/md.texi: Update documentation of AVR constraints. + 2007-07-07 Kazu Hirata * auto-inc-dec.c, config/arm/arm.c, diff --git a/gcc/config/avr/constraints.md b/gcc/config/avr/constraints.md index f3ff9e962cc..5dc8d626fa8 100644 --- a/gcc/config/avr/constraints.md +++ b/gcc/config/avr/constraints.md @@ -105,6 +105,6 @@ (match_test "ival >= -6 && ival <= 5"))) (define_memory_constraint "Q" - "A memory address based on X or Y pointer with displacement." + "A memory address based on Y or Z pointer with displacement." (and (match_code "mem") (match_test "extra_constraint_Q (op)"))) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index a3f1243b200..d8f1abb7717 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -1742,6 +1742,12 @@ Constant integer 1 @item G A floating point constant 0.0 + +@item R +Integer constant in the range -6 @dots{} 5. + +@item Q +A memory address based on Y or Z pointer with displacement. @end table @item CRX Architecture---@file{config/crx/crx.h} -- 2.11.4.GIT