[PING] [PATCH] Fix fortran/pr60236
Bernd Edlinger
bernd.edlinger@hotmail.de
Sun Mar 2 15:26:00 GMT 2014
Ping.
> Subject: [PATCH] Fix fortran/pr60236
> Date: Sun, 23 Feb 2014 14:50:46 +0100
>
> Hi,
>
> the test case gfortran.dg/vect/pr32380.f was found to fail on armv7l-unknown-linux-gnueabihf.
> The reason for this is that one out of 6 loops does not get vectorized, because this target does
> not support a vectorization of sqrtf.
>
> The same test case is known to fail on powerpc-apple-darwin9 due to a different reason, see PR52229.
> On that target 5 out of 6 loops do not get vectorized, because of an alignment issue. That was solved
> at that time by declaring some targets xfail.
>
> This patch tries to solve the problem in a more general way, by classifying the target's expected
> result by using vect_element_align and vect_call_sqrtf attributes.
>
> This patch has been tested on armv7l-unknown-linux-gnueabihf, x86_64-unknown-linux-gnu and
> powerpc-apple-darwin9.
>
> OK for trunk?
>
> Regards
> Bernd.
>
>
> P.S.: Many thanks to Dominique d'Humieres for reg-testing on powerpc-apple-darwin9.
More information about the Fortran
mailing list