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]

AIX assembler options update


        * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
        option.
        (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/aix52.h: Same.

Index: aix43.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/aix43.h,v
retrieving revision 1.28
diff -c -p -r1.28 aix43.h
*** aix43.h	30 Jan 2003 13:19:15 -0000	1.28
--- aix43.h	27 Feb 2003 21:46:33 -0000
*************** do {									\
*** 60,66 ****
  } while (0);
  
  #undef ASM_SPEC
! #define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
  
  /* Common ASM definitions used by ASM_SPEC amongst the various targets
     for handling -mcpu=xxx switches.  */
--- 60,66 ----
  } while (0);
  
  #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.  */
*************** do {									\
*** 75,82 ****
  %{mcpu=common: -mcom} \
  %{mcpu=power: -mpwr} \
  %{mcpu=power2: -mpwr2} \
! %{mcpu=power3: -m604} \
! %{mcpu=power4: -m604} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rios: -mpwr} \
  %{mcpu=rios1: -mpwr} \
--- 75,82 ----
  %{mcpu=common: -mcom} \
  %{mcpu=power: -mpwr} \
  %{mcpu=power2: -mpwr2} \
! %{mcpu=power3: -m620} \
! %{mcpu=power4: -m620} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rios: -mpwr} \
  %{mcpu=rios1: -mpwr} \
*************** do {									\
*** 90,97 ****
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -mppc} \
! %{mcpu=630: -m604}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mcom"
--- 90,97 ----
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -m620} \
! %{mcpu=630: -m620}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mcom"
Index: aix51.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/aix51.h,v
retrieving revision 1.17
diff -c -p -r1.17 aix51.h
*** aix51.h	30 Jan 2003 13:19:15 -0000	1.17
--- aix51.h	27 Feb 2003 21:46:33 -0000
*************** do {									\
*** 60,66 ****
  } while (0);
  
  #undef ASM_SPEC
! #define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
  
  /* Common ASM definitions used by ASM_SPEC amongst the various targets
     for handling -mcpu=xxx switches.  */
--- 60,66 ----
  } while (0);
  
  #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.  */
*************** do {									\
*** 75,82 ****
  %{mcpu=common: -mcom} \
  %{mcpu=power: -mpwr} \
  %{mcpu=power2: -mpwr2} \
! %{mcpu=power3: -m604} \
! %{mcpu=power4: -m604} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rios: -mpwr} \
  %{mcpu=rios1: -mpwr} \
--- 75,82 ----
  %{mcpu=common: -mcom} \
  %{mcpu=power: -mpwr} \
  %{mcpu=power2: -mpwr2} \
! %{mcpu=power3: -m620} \
! %{mcpu=power4: -m620} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rios: -mpwr} \
  %{mcpu=rios1: -mpwr} \
*************** do {									\
*** 90,97 ****
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -mppc} \
! %{mcpu=630: -m604}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mcom"
--- 90,97 ----
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -m620} \
! %{mcpu=630: -m620}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mcom"
Index: aix52.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/aix52.h,v
retrieving revision 1.2
diff -c -p -r1.2 aix52.h
*** aix52.h	30 Jan 2003 13:19:15 -0000	1.2
--- aix52.h	27 Feb 2003 21:46:33 -0000
*************** do {									\
*** 60,66 ****
  } while (0);
  
  #undef ASM_SPEC
! #define ASM_SPEC "-u %{maix64:-a64 -mppc64} %(asm_cpu)"
  
  /* Common ASM definitions used by ASM_SPEC amongst the various targets
     for handling -mcpu=xxx switches.  */
--- 60,66 ----
  } while (0);
  
  #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.  */
*************** do {									\
*** 69,84 ****
  "%{!mcpu*: %{!maix64: \
    %{mpowerpc64: -mppc64} \
    %{!mpower64: %(asm_default)}}} \
! %{mcpu=power3: -m604} \
! %{mcpu=power4: -m604} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rs64a: -mppc} \
  %{mcpu=603: -m603} \
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -mppc} \
! %{mcpu=630: -m604}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mppc"
--- 69,84 ----
  "%{!mcpu*: %{!maix64: \
    %{mpowerpc64: -mppc64} \
    %{!mpower64: %(asm_default)}}} \
! %{mcpu=power3: -m620} \
! %{mcpu=power4: -m620} \
  %{mcpu=powerpc: -mppc} \
  %{mcpu=rs64a: -mppc} \
  %{mcpu=603: -m603} \
  %{mcpu=603e: -m603} \
  %{mcpu=604: -m604} \
  %{mcpu=604e: -m604} \
! %{mcpu=620: -m620} \
! %{mcpu=630: -m620}"
  
  #undef	ASM_DEFAULT_SPEC
  #define ASM_DEFAULT_SPEC "-mppc"


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