|
Mark Wielaard |
ae1b1f |
commit 326d53c8378984c50f29bd124d3f2b4a1242306c
|
|
Mark Wielaard |
ae1b1f |
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
|
|
Mark Wielaard |
ae1b1f |
Date: Fri Jun 16 09:33:35 2017 +0000
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
ppc64 doesn't compile test_isa_2_06_partx.c without VSX support
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
The #ifdef HAS_VSX guard is wrongly placed. It makes the standard
|
|
Mark Wielaard |
ae1b1f |
include headers not be used. Causing a build failure. Fix by moving
|
|
Mark Wielaard |
ae1b1f |
the #ifdef HAS_VSX after the standard includes.
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
https://bugs.kde.org/show_bug.cgi?id=381272
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16450 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
diff --git a/none/tests/ppc32/test_isa_2_06_part1.c b/none/tests/ppc32/test_isa_2_06_part1.c
|
|
Mark Wielaard |
ae1b1f |
index 7cd4930..7a14c6d 100644
|
|
Mark Wielaard |
ae1b1f |
--- a/none/tests/ppc32/test_isa_2_06_part1.c
|
|
Mark Wielaard |
ae1b1f |
+++ b/none/tests/ppc32/test_isa_2_06_part1.c
|
|
Mark Wielaard |
ae1b1f |
@@ -20,13 +20,14 @@
|
|
Mark Wielaard |
ae1b1f |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
ae1b1f |
*/
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
-
|
|
Mark Wielaard |
ae1b1f |
#include <stdio.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdint.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdlib.h>
|
|
Mark Wielaard |
ae1b1f |
#include <string.h>
|
|
Mark Wielaard |
ae1b1f |
#include <malloc.h>
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
#include <altivec.h>
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
#ifndef __powerpc64__
|
|
Mark Wielaard |
ae1b1f |
diff --git a/none/tests/ppc32/test_isa_2_06_part2.c b/none/tests/ppc32/test_isa_2_06_part2.c
|
|
Mark Wielaard |
ae1b1f |
index c7bf4fe..2ee7b53 100644
|
|
Mark Wielaard |
ae1b1f |
--- a/none/tests/ppc32/test_isa_2_06_part2.c
|
|
Mark Wielaard |
ae1b1f |
+++ b/none/tests/ppc32/test_isa_2_06_part2.c
|
|
Mark Wielaard |
ae1b1f |
@@ -20,17 +20,18 @@
|
|
Mark Wielaard |
ae1b1f |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
ae1b1f |
*/
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
-
|
|
Mark Wielaard |
ae1b1f |
#include <stdio.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdint.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdlib.h>
|
|
Mark Wielaard |
ae1b1f |
#include <string.h>
|
|
Mark Wielaard |
ae1b1f |
#include <malloc.h>
|
|
Mark Wielaard |
ae1b1f |
-#include <altivec.h>
|
|
Mark Wielaard |
ae1b1f |
#include <math.h>
|
|
Mark Wielaard |
ae1b1f |
#include <unistd.h> // getopt
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
+#include <altivec.h>
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
#ifndef __powerpc64__
|
|
Mark Wielaard |
ae1b1f |
typedef uint32_t HWord_t;
|
|
Mark Wielaard |
ae1b1f |
#else
|
|
Mark Wielaard |
ae1b1f |
diff --git a/none/tests/ppc32/test_isa_2_06_part3.c b/none/tests/ppc32/test_isa_2_06_part3.c
|
|
Mark Wielaard |
ae1b1f |
index 8c74c09..5ebc1a5 100644
|
|
Mark Wielaard |
ae1b1f |
--- a/none/tests/ppc32/test_isa_2_06_part3.c
|
|
Mark Wielaard |
ae1b1f |
+++ b/none/tests/ppc32/test_isa_2_06_part3.c
|
|
Mark Wielaard |
ae1b1f |
@@ -20,17 +20,18 @@
|
|
Mark Wielaard |
ae1b1f |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
ae1b1f |
*/
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
-
|
|
Mark Wielaard |
ae1b1f |
#include <stdio.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdint.h>
|
|
Mark Wielaard |
ae1b1f |
#include <stdlib.h>
|
|
Mark Wielaard |
ae1b1f |
#include <string.h>
|
|
Mark Wielaard |
ae1b1f |
#include <malloc.h>
|
|
Mark Wielaard |
ae1b1f |
-#include <altivec.h>
|
|
Mark Wielaard |
ae1b1f |
#include <math.h>
|
|
Mark Wielaard |
ae1b1f |
#include <unistd.h> // getopt
|
|
Mark Wielaard |
ae1b1f |
|
|
Mark Wielaard |
ae1b1f |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
+#include <altivec.h>
|
|
Mark Wielaard |
ae1b1f |
+
|
|
Mark Wielaard |
ae1b1f |
#ifndef __powerpc64__
|
|
Mark Wielaard |
ae1b1f |
typedef uint32_t HWord_t;
|
|
Mark Wielaard |
ae1b1f |
#else
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
diff --git a/none/tests/ppc64/test_isa_2_06_part1.c b/none/tests/ppc64/test_isa_2_06_part1.c
|
|
Mark Wielaard |
345398 |
index 7cd4930..7a14c6d 100644
|
|
Mark Wielaard |
345398 |
--- a/none/tests/ppc64/test_isa_2_06_part1.c
|
|
Mark Wielaard |
345398 |
+++ b/none/tests/ppc64/test_isa_2_06_part1.c
|
|
Mark Wielaard |
345398 |
@@ -20,13 +20,14 @@
|
|
Mark Wielaard |
345398 |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
345398 |
*/
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
-
|
|
Mark Wielaard |
345398 |
#include <stdio.h>
|
|
Mark Wielaard |
345398 |
#include <stdint.h>
|
|
Mark Wielaard |
345398 |
#include <stdlib.h>
|
|
Mark Wielaard |
345398 |
#include <string.h>
|
|
Mark Wielaard |
345398 |
#include <malloc.h>
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
#include <altivec.h>
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
#ifndef __powerpc64__
|
|
Mark Wielaard |
345398 |
diff --git a/none/tests/ppc64/test_isa_2_06_part2.c b/none/tests/ppc64/test_isa_2_06_part2.c
|
|
Mark Wielaard |
345398 |
index c7bf4fe..2ee7b53 100644
|
|
Mark Wielaard |
345398 |
--- a/none/tests/ppc64/test_isa_2_06_part2.c
|
|
Mark Wielaard |
345398 |
+++ b/none/tests/ppc64/test_isa_2_06_part2.c
|
|
Mark Wielaard |
345398 |
@@ -20,17 +20,18 @@
|
|
Mark Wielaard |
345398 |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
345398 |
*/
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
-
|
|
Mark Wielaard |
345398 |
#include <stdio.h>
|
|
Mark Wielaard |
345398 |
#include <stdint.h>
|
|
Mark Wielaard |
345398 |
#include <stdlib.h>
|
|
Mark Wielaard |
345398 |
#include <string.h>
|
|
Mark Wielaard |
345398 |
#include <malloc.h>
|
|
Mark Wielaard |
345398 |
-#include <altivec.h>
|
|
Mark Wielaard |
345398 |
#include <math.h>
|
|
Mark Wielaard |
345398 |
#include <unistd.h> // getopt
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
+#include <altivec.h>
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
#ifndef __powerpc64__
|
|
Mark Wielaard |
345398 |
typedef uint32_t HWord_t;
|
|
Mark Wielaard |
345398 |
#else
|
|
Mark Wielaard |
345398 |
diff --git a/none/tests/ppc64/test_isa_2_06_part3.c b/none/tests/ppc64/test_isa_2_06_part3.c
|
|
Mark Wielaard |
345398 |
index 8c74c09..5ebc1a5 100644
|
|
Mark Wielaard |
345398 |
--- a/none/tests/ppc64/test_isa_2_06_part3.c
|
|
Mark Wielaard |
345398 |
+++ b/none/tests/ppc64/test_isa_2_06_part3.c
|
|
Mark Wielaard |
345398 |
@@ -20,17 +20,18 @@
|
|
Mark Wielaard |
345398 |
The GNU General Public License is contained in the file COPYING.
|
|
Mark Wielaard |
345398 |
*/
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
-#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
-
|
|
Mark Wielaard |
345398 |
#include <stdio.h>
|
|
Mark Wielaard |
345398 |
#include <stdint.h>
|
|
Mark Wielaard |
345398 |
#include <stdlib.h>
|
|
Mark Wielaard |
345398 |
#include <string.h>
|
|
Mark Wielaard |
345398 |
#include <malloc.h>
|
|
Mark Wielaard |
345398 |
-#include <altivec.h>
|
|
Mark Wielaard |
345398 |
#include <math.h>
|
|
Mark Wielaard |
345398 |
#include <unistd.h> // getopt
|
|
Mark Wielaard |
345398 |
|
|
Mark Wielaard |
345398 |
+#ifdef HAS_VSX
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
+#include <altivec.h>
|
|
Mark Wielaard |
345398 |
+
|
|
Mark Wielaard |
345398 |
#ifndef __powerpc64__
|
|
Mark Wielaard |
345398 |
typedef uint32_t HWord_t;
|
|
Mark Wielaard |
345398 |
#else
|