diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/vmx/vmx.exp')
-rw-r--r-- | gcc/testsuite/gcc.dg/vmx/vmx.exp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/vmx/vmx.exp b/gcc/testsuite/gcc.dg/vmx/vmx.exp index 54feb41020a..2b2bec3e136 100644 --- a/gcc/testsuite/gcc.dg/vmx/vmx.exp +++ b/gcc/testsuite/gcc.dg/vmx/vmx.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2006 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,11 +19,10 @@ # Load support procs. load_lib gcc-dg.exp -# Skip these tests for non-PowerPC targets and for Aix, where AltiVec -# is not yet supported. Also, skip these tests on the SPE because -# AltiVec and E500 opcodes conflict. -if {![istarget powerpc*-*-*] || [istarget powerpc*-*-aix*] - || [istarget powerpc*-*eabispe*] } { +# Skip these tests for non-PowerPC targets and for targets where AltiVec +# is not supported. +if {![istarget powerpc*-*-*] + || ![check_effective_target_powerpc_altivec_ok] } { return } |