This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,testsuite] remove runtime altivec checking
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Jan 2009 09:36:54 -0800
- Subject: Re: [PATCH,testsuite] remove runtime altivec checking
- References: <20090113040418.GE28711@codesourcery.com>
- Reply-to: janis187 at us dot ibm dot com
On Mon, 2009-01-12 at 20:04 -0800, Nathan Froyd wrote:
> In the same way that trying to check for 64-bit instruction support at
> runtime is bad:
>
> http://gcc.gnu.org/ml/gcc-patches/2009-01/msg00616.html
>
> checking for AltiVec instruction support at runtime is bad. Simulator
> boards don't like it, and real boards are likely to spontaneously
> reboot. And signal() doesn't work with newlib anyway.
>
> This patch modifies the testsuite so the relevant tests are run if
> AltiVec is detected as available by DejaGNU. A similar tack is taken
> for the lone test that checks for Cell instructions at runtime as well.
>
> Tested on powerpc-none-eabi{,spe}. OK to commit?
>
> 2009-01-12 Daniel Jacobowitz <dan@codesourcery.com>
> Nathan Froyd <froydnj@codesourcery.com>
> Joseph Myers <joseph@codesourcery.com>
OK.
Janis