This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
rs6000 -mcpu=power4
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 7 Aug 2002 15:15:48 +0930
- Subject: rs6000 -mcpu=power4
The assembler needs to be told to generate "at" style branch hints for
power4. Now that binutils-2.13 is released, can we do the right thing
in gcc?
gcc/ChangeLog
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
Index: gcc/config/rs6000/rs6000.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.219
diff -u -p -r1.219 rs6000.h
--- gcc/config/rs6000/rs6000.h 2 Aug 2002 16:25:43 -0000 1.219
+++ gcc/config/rs6000/rs6000.h 7 Aug 2002 05:43:27 -0000
@@ -59,7 +59,7 @@ Boston, MA 02111-1307, USA. */
%{mcpu=power: -mpwr} \
%{mcpu=power2: -mpwrx} \
%{mcpu=power3: -m604} \
-%{mcpu=power4: -m604} \
+%{mcpu=power4: -mpower4} \
%{mcpu=powerpc: -mppc} \
%{mcpu=rios: -mpwr} \
%{mcpu=rios1: -mpwr} \
--
Alan Modra
IBM OzLabs - Linux Technology Centre