This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix FAIL of gcc.target/sparc/pdist-3.c (PR 35574) (Take 3)
> > Tested on sparc. OK to apply to 4.3 and mainline?
>
> This patch looks good to me.
Agreed, except for 2 things: the new const_double_or_vector_operand predicate
should be added to the "Predicates for numerical constants" section of the
predicates.md file and not at the end; and a minor nit:
Index: gcc/config/sparc/sparc.h
===================================================================
--- gcc/config/sparc/sparc.h (revision 226562)
+++ gcc/config/sparc/sparc.h (working copy)
@@ -1870,6 +1870,8 @@ do {
\
/* Optional extra constraints for this machine.
+ 'D' handles the const_vector.
'D' handles vector constants.
--
Eric Botcazou