This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] sh: Move predicates to predicates.md. (take 2)


Kaz Kojima wrote:



which is same with the result without the predicates.md patch.

Regards,
	kaz
--
diff -uprN TMP/gcc/gcc/config/sh/predicates.md LOCAL/gcc/gcc/config/sh/predicates.md
--- TMP/gcc/gcc/config/sh/predicates.md	Wed Jun  1 19:48:06 2005
+++ LOCAL/gcc/gcc/config/sh/predicates.md	Wed Jun  1 19:25:30 2005
@@ -415,7 +415,8 @@
;; are subregs of system registers.

(define_predicate "general_movsrc_operand"
-  (match_code "subreg,reg,const_int,const_double,mem,symbol_ref,label_ref,const")
+  (match_code "subreg,reg,const_int,const_double,mem,symbol_ref,label_ref,
+	       const,const_vector")
{
  if (GET_CODE (op) == MEM)
    {



With this additional change, the predicates.md patch is OK then.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]