From: Carl Love Date: Mon, 20 Jul 2015 20:36:47 +0000 (+0000) Subject: Patch 3 of 7, improve PPC HW capabiltiy checking. X-Git-Tag: svn/VALGRIND_3_11_0~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=296ac5e8c1654e2b967f08cc046ef0348ca10d49;p=thirdparty%2Fvalgrind.git Patch 3 of 7, improve PPC HW capabiltiy checking. The patch was submitted by Will Schmidt (will_schmidt@vnet.ibm.com). remove unused capability checking scripts. these have been replaced by the check_ppc64_auxv_cap script. change tests/check_ppc64_auxv_cap to executable. Tried to make it executable on the last commit but for some reason it didn't seem to suceed. Bugzilla 34979 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15422 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 07f3d64638..708c28ee7e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -3,11 +3,7 @@ include $(top_srcdir)/Makefile.tool-tests.am dist_noinst_SCRIPTS = \ check_headers_and_includes \ - check_isa-2_06_cap \ - check_isa-2_07_cap \ check_makefile_consistency \ - check_dfp_cap \ - check_vmx_cap \ check_ppc64_auxv_cap \ filter_addresses \ filter_discards \ diff --git a/tests/check_dfp_cap b/tests/check_dfp_cap deleted file mode 100755 index d9bc273f90..0000000000 --- a/tests/check_dfp_cap +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# We use this script to check whether or not the processor supports Decimal Floating Point (DFP). - -LD_SHOW_AUXV=1 /bin/true | grep dfp > /dev/null 2>&1 -if [ "$?" -ne "0" ]; then - exit 1 -else - exit 0 -fi diff --git a/tests/check_isa-2_06_cap b/tests/check_isa-2_06_cap deleted file mode 100755 index 68401fc74b..0000000000 --- a/tests/check_isa-2_06_cap +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# We use this script to check whether or not the processor supports Power ISA 2.06 or later. -DIR="$( cd "$( dirname "$0" )" && pwd )" -LD_SHOW_AUXV=1 /bin/true | grep arch_2_06 > /dev/null 2>&1 - -if [ "$?" -ne "0" ]; then - exit 1 -else - exit 0 -fi - diff --git a/tests/check_isa-2_07_cap b/tests/check_isa-2_07_cap deleted file mode 100755 index e268d73d5e..0000000000 --- a/tests/check_isa-2_07_cap +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# We use this script to check whether or not the processor supports -# Power ISA 2.07. -DIR="$( cd "$( dirname "$0" )" && pwd )" -LD_SHOW_AUXV=1 /bin/true | grep arch_2_07 > /dev/null 2>&1 - -if [ "$?" -ne "0" ]; then - exit 1 -else - exit 0 -fi diff --git a/tests/check_ppc64_auxv_cap b/tests/check_ppc64_auxv_cap old mode 100644 new mode 100755 diff --git a/tests/check_vmx_cap b/tests/check_vmx_cap deleted file mode 100755 index 12e5f68ec6..0000000000 --- a/tests/check_vmx_cap +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# We use this script to check whether or not the processor supports VMX (aka "Altivec"). - -LD_SHOW_AUXV=1 /bin/true | grep altivec > /dev/null 2>&1 -if [ "$?" -ne "0" ]; then - exit 1 -else - exit 0 -fi -