* Another altivec testsuite patch
@ 2005-03-02 21:57 Paul Gilliam
2005-03-03 17:27 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Paul Gilliam @ 2005-03-02 21:57 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
The gcc compiler needs -maltivec to enable altivec support.
OK to commit? Is this an obvious patch I should have just committed without
asking?
-=# Paul Gilliam #=-
[-- Attachment #2: altivec2.patch --]
[-- Type: text/x-diff, Size: 1964 bytes --]
diff -Naur testsuite.old/ChangeLog testsuite/ChangeLog
--- testsuite.old/ChangeLog 2005-03-02 13:28:23.757211464 -0800
+++ testsuite/ChangeLog 2005-03-02 13:56:01.659188904 -0800
@@ -1,3 +1,8 @@
+2005-03-02 Paul Gilliam <pgilliam@us.ibm.com>
+
+ * gdb.arch/altivec-abi.exp: Added -maltivec to compiler flags.
+ * gdb.arch/altivec-regs.exp: Likewise
+
2004-03-01 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp: added 'skip_altivec_tests', a modification of
diff -Naur testsuite.old/gdb.arch/altivec-abi.exp testsuite/gdb.arch/altivec-abi.exp
--- testsuite.old/gdb.arch/altivec-abi.exp 2005-03-02 13:28:23.759211160 -0800
+++ testsuite/gdb.arch/altivec-abi.exp 2005-03-02 13:30:27.210216176 -0800
@@ -41,7 +41,9 @@
set binfile ${objdir}/${subdir}/${testfile}
set srcfile ${testfile}.c
-if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug additional_flags=-w}] != "" } {
+set compile_options {debug additional_flags=-w additional_flags=-maltivec}
+
+if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $compile_options] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
diff -Naur testsuite.old/gdb.arch/altivec-regs.exp testsuite/gdb.arch/altivec-regs.exp
--- testsuite.old/gdb.arch/altivec-regs.exp 2005-03-02 13:28:23.759211160 -0800
+++ testsuite/gdb.arch/altivec-regs.exp 2005-03-02 13:30:27.211216024 -0800
@@ -41,7 +41,9 @@
set binfile ${objdir}/${subdir}/${testfile}
set srcfile ${testfile}.c
-if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug additional_flags=-w}] != "" } {
+set compile_options {debug additional_flags=-w additional_flags=-maltivec}
+
+if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $compile_options] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-03 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 21:57 Another altivec testsuite patch Paul Gilliam
2005-03-03 17:27 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox