[PATCH, testsuite] Fix PR34168 - fortran vectorized tests on x86 without support of SSE2

Uros Bizjak ubizjak@gmail.com
Thu Mar 20 20:32:00 GMT 2008


Victor Kaplansky wrote:

> I agree. Do we want to make this reorganization as part of this PR or as
> a separate patch? I prefer to fix PR and reorganize vect.exp later.
>   

Victor,

I hope you don't mind that I took the liberty and extended your patch to 
also include a synchronisation of various  testsuite/*/vect.exp 
target-dependent overrides and commit it to mainline by myself.

2008-03-20 Victor Kaplansky  <victork@gcc.gnu.org>
           Uros Bizjak  <ubizjak@gmail.com>

        PR testsuite/34168
        * lib/target-supports.exp (check_sse2_hw_available): New procedure.
        * gcc.dg/vect/vect.exp: Set dg-do-what-default to "compile"
        if SSE2 hardware is not available.
        * g++.dg/vect/vect.exp: Update target-dependent overrides to match
        gcc.dg/vect/vect.exp.
        * gfortran.dg/vect/vect.exp: Ditto.
        (check_effective_target_lp64_or_vect_no_align): Remove procedure.


The patch was regression tested on x86_64-pc-linux-gnu {,-m32} and was 
committed to mainline. I will commit similar patch to 4.3 tomorrow.

Thanks,
Uros.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080320/97216097/attachment.txt>


More information about the Gcc-patches mailing list