diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2009-06-23 20:15:15 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2009-06-23 20:15:15 +0000 |
commit | cacf1ca8c1028433255434d766a730734ad3296d (patch) | |
tree | f2c6a26e3f34541a7cb8bbb7704f8c0bef5bb674 /gcc/config/rs6000/aix53.h | |
parent | 59ab92d2918a7e7ee914bf86cff5bcbabb68d9b9 (diff) | |
download | gcc-cacf1ca8c1028433255434d766a730734ad3296d.tar.gz |
Step 1 of VSX changes: Powerpc infrstructure changes
Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com>
Co-Authored-By: Revital Eres <eres@il.ibm.com>
From-SVN: r148869
Diffstat (limited to 'gcc/config/rs6000/aix53.h')
-rw-r--r-- | gcc/config/rs6000/aix53.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h index 6172e76aad2..b7b1eec9adf 100644 --- a/gcc/config/rs6000/aix53.h +++ b/gcc/config/rs6000/aix53.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000 POWER running AIX V5.3. - Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Contributed by David Edelsohn (edelsohn@gnu.org). @@ -57,20 +57,24 @@ do { \ #undef ASM_SPEC #define ASM_SPEC "-u %{maix64:-a64 %{!mcpu*:-mppc64}} %(asm_cpu)" -/* Common ASM definitions used by ASM_SPEC amongst the various targets - for handling -mcpu=xxx switches. */ +/* Common ASM definitions used by ASM_SPEC amongst the various targets for + handling -mcpu=xxx switches. There is a parallel list in driver-rs6000.c to + provide the default assembler options if the user uses -mcpu=native, so if + you make changes here, make them there also. */ #undef ASM_CPU_SPEC #define ASM_CPU_SPEC \ "%{!mcpu*: %{!maix64: \ %{mpowerpc64: -mppc64} \ %{maltivec: -m970} \ %{!maltivec: %{!mpower64: %(asm_default)}}}} \ +%{mcpu=native: %(asm_cpu_native)} \ %{mcpu=power3: -m620} \ %{mcpu=power4: -mpwr4} \ %{mcpu=power5: -mpwr5} \ %{mcpu=power5+: -mpwr5x} \ %{mcpu=power6: -mpwr6} \ %{mcpu=power6x: -mpwr6} \ +%{mcpu=power7: -mpwr7} \ %{mcpu=powerpc: -mppc} \ %{mcpu=rs64a: -mppc} \ %{mcpu=603: -m603} \ |