This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch ARM-AArch64/testsuite v3 00/21] Neon intrinsics executable tests
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 5 Nov 2014 13:17:19 +0000
- Subject: Re: [Patch ARM-AArch64/testsuite v3 00/21] Neon intrinsics executable tests
- Authentication-results: sourceware.org; auth=none
- References: <1413896593-26607-1-git-send-email-christophe dot lyon at linaro dot org> <CAFqB+PywOYtTurN+Vr3uzJbeYKr1yzWCj3efKRCDJ_bkO_7zbw at mail dot gmail dot com> <CAKdteOY6VTYVjZ3BC2Oe8872S5xpwyY5JJ2oFzjtGpj3_M=_Fg at mail dot gmail dot com>
On 26 October 2014 16:50, Christophe Lyon <christophe.lyon@linaro.org> wrote:
> I've just realized afterwards that the tests aren't guarded against
> targets not supporting Neon.
>
> How about adding the attached small patch?
+if {[istarget arm*-*-*]
+ && ![check_effective_target_arm_neon_ok]} then {
+ return
+}
+
Umm, first thought was that this is a bit of a hack but having just
discussed it with Ramana we don;t have a better alternative to hand,
so OK.
/Marcus