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]

[3.2.1] Obvious patch to i386.h


I noticed a simple typo which was preventing both _D__tune_pentiumpro__ and -D__tune_pentium2__ from being defined in specs.

This applies to the 3.2 branch. This code has been revamped on the mainline.

Kelley Cook

Tue Nov 26 11:05:00 EST 2002  Kelley Cook <kelleycook@comcast.net>

	* config/i386/i386.h (CPP_CPU_DEFAULT_SPEC): add in missing space


*** config/i386/i386.h.orig	Tue Nov 26 10:58:09 2002
--- config/i386/i386.h	Tue Nov 26 10:59:38 2002
*************** extern int ix86_arch;
*** 524,535 ****
  #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium2
! #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__\
! -D__tune_pentium2__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium3
! #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__\
! -D__tune_pentium2__ -D__tune_pentium3__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium4
  #define CPP_CPU_DEFAULT_SPEC "-D__tune_pentium4__"
--- 524,533 ----
  #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium2
! #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__ -D__tune_pentium2__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium3
! #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__ -D__tune_pentium2__ -D__tune_pentium3__"
  #endif
  #if TARGET_CPU_DEFAULT == TARGET_CPU_DEFAULT_pentium4
  #define CPP_CPU_DEFAULT_SPEC "-D__tune_pentium4__"

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