From 3d5331376b469e7d42b9d9bce251736ab9510443 Mon Sep 17 00:00:00 2001 From: amylaar Date: Wed, 15 Mar 2006 15:52:34 +0000 Subject: [PATCH] * config/sh/predicates.md (cache_address_operand): Special. (ua_address_operand): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112085 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/predicates.md | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48c7e7a68f0..6f549095dd1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-15 J"orn Rennecke + + * config/sh/predicates.md (cache_address_operand): Special. + (ua_address_operand): Likewise. + 2006-03-15 Zdenek Dvorak * haifa-sched.c (unlink_other_notes, reemit_notes): Do not handle diff --git a/gcc/config/sh/predicates.md b/gcc/config/sh/predicates.md index 26e9548c220..1578afb73de 100644 --- a/gcc/config/sh/predicates.md +++ b/gcc/config/sh/predicates.md @@ -216,9 +216,10 @@ (and (match_code "and,ior,xor") (match_test "GET_MODE (op) == mode"))) -;; TODO: Add a comment here. +;; Return 1 of OP is an address suitable for a cache manipulation operation. +;; MODE has the meaning as in address_operand. -(define_predicate "cache_address_operand" +(define_special_predicate "cache_address_operand" (match_code "plus,reg") { if (GET_CODE (op) == PLUS) @@ -749,9 +750,9 @@ return extend_reg_operand (op, mode); }) -;; TODO: Add a comment here. +;; Return 1 of OP is an address suitable for an unaligned access instruction. -(define_predicate "ua_address_operand" +(define_special_predicate "ua_address_operand" (match_code "subreg,reg,plus") { if (GET_CODE (op) == PLUS -- 2.11.4.GIT