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

Joern RENNECKE joern.rennecke@st.com
Wed Jun 1 14:10:00 GMT 2005


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.



More information about the Gcc-patches mailing list