This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,vect] ppc cost model options
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Dorit Nuzman <dorit at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 19 Oct 2007 17:43:01 -0400
- Subject: [PATCH,vect] ppc cost model options
Dorit,
I am enabling VMX auto-vectorization for AIX 5.3. Most testcases
succeed. You can see the failures in the recent testresults.
One set of failures is due to the ppc costmodel using -mcpu=7400.
AIX does not run on that processor and does not support that option to
invoke the AIX assembler properly.
I would like to change the compile-only option to -mcpu=970, which
is supported by AIX. Is there a reason to prefer 7400 instead of 970?
Thanks, David
* gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp: Use
-mcpu=970 instead of 7400.
Index: ppc-costmodel-vect.exp
===================================================================
--- ppc-costmodel-vect.exp (revision 129469)
+++ ppc-costmodel-vect.exp (working copy)
@@ -49,7 +49,7 @@
} else {
if [is-effective-target ilp32] {
# Specify a cpu that supports VMX for compile-only tests.
- lappend DEFAULT_VECTCFLAGS "-mcpu=7400"
+ lappend DEFAULT_VECTCFLAGS "-mcpu=970"
}
set dg-do-what-default compile
}