This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH,rs6000] add mcpu=8548 entry to ASM_CPU_SPEC


When you compile a powerpc-linux-gnuspe toolchain and attempt to compile
assembly files like so:

  gcc -c foo.S -mcpu=8548

you don't get the results you expect; the assembler receives -many
instead of the expected -me500, due to a missing entry in
rs6000.h:ASM_CPU_SPEC.  This patch adds the missing entry.

Bootstrapped and regtested on powerpc-linux-gnuspe.  OK to commit?

-Nathan

2008-01-07  Nathan Froyd  <froydnj@codesourcery.com>

	* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.

Index: config/rs6000/rs6000.h
===================================================================
--- config/rs6000/rs6000.h	(revision 131379)
+++ config/rs6000/rs6000.h	(working copy)
@@ -116,6 +116,7 @@
 %{mcpu=970: -mpower4 -maltivec} \
 %{mcpu=G5: -mpower4 -maltivec} \
 %{mcpu=8540: -me500} \
+%{mcpu=8548: -me500} \
 %{maltivec: -maltivec} \
 -many"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]