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: Test cases vect-simd-clone-10/12.c keep failing


On Sun, Jan 12, 2014 at 10:53:58AM +0100, Bernd Edlinger wrote:
> The test cases gcc.dg/vect/vect-simd-clone-10.c and
> gcc.dg/vect/vect-simd-clone-12.c keep failing on my i686-pc. I do not really
> understand why. The problem seem to be the command line to xgcc has
> -S and -o and two .c files, probably the test case is not supported at all
> on this target, does not have AVX, SSE...

It seems that on some configurations (such as very old i?86/x86_64) the
default is dg-do compile for vect and not dg-do run.
check_vect_support_and_set_flags has:
        if { [check_effective_target_sse2_runtime] } {
            set dg-do-what-default run
        } else {
            set dg-do-what-default compile
        }
so if you have really old box that doesn't support SSE2 even, you get this.

I guess explicit /* { dg-do run } */ needs to be added in this case, after
all the test has all the check_vect stuff in.

	Jakub


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