This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH,rs6000] add mcpu=8548 entry to ASM_CPU_SPEC
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dje at watson dot ibm dot com
- Date: Mon, 7 Jan 2008 11:12:11 -0800
- Subject: [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"