OSDN Git Service

* config/sh/predicates.md (cache_address_operand): Special.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2006 15:52:34 +0000 (15:52 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2006 15:52:34 +0000 (15:52 +0000)
(ua_address_operand): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112085 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sh/predicates.md

index 48c7e7a..6f54909 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-15  J"orn Rennecke <joern.rennecke@st.com>
+
+       * config/sh/predicates.md (cache_address_operand): Special.
+       (ua_address_operand): Likewise.
+
 2006-03-15  Zdenek Dvorak <dvorakz@suse.cz>
 
        * haifa-sched.c (unlink_other_notes, reemit_notes): Do not handle
index 26e9548..1578afb 100644 (file)
   (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)
   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