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: cleanup gcc.dg/vect/


On Mon, Oct 18, 2004 at 03:41:19PM -0400, Aldy Hernandez wrote:
> There is a lot of redundancy in the parameters passed to individual tests.
> We pass the same exact flags (modulo one parameter) to each test we
> run/compile.
> 
> This patch abstracts the DEFAULT_CFLAGS code out of the individual tests.
> 
> I have also disabled the powerpc tests when VMX is not available.  Right
> now, we indiscriminately try to run tests when hardware may not be
> available.
> 
> I am not sure if we may still want to run the tests, especially the compile
> tests even if the HW is not available.  Dorit?  Folks?  If this is the
> case, then we can just disable the tests for powerpc-*-*spe.

Compiling and the checks in the dg-final step are useful, so perhaps we
can change the "dg-do" option from "run" to "compile" if the hardware
doesn't have vector support, as is done for the gcc.dg/vmx tests.  I'll
take a look and let you know if it will fit in nicely with the vect test
infrastructure.

Janis


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