[PATCH,testsuite] remove runtime altivec checking
Janis Johnson
janis187@us.ibm.com
Tue Jan 13 17:38:00 GMT 2009
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
More information about the Gcc-patches
mailing list