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]

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


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