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]

Re: recognize x86 CPU variants and default SSE/MMX/3dNOW support


Jan Hubicka <jh@suse.cz> writes:

> !       {"i386", PROCESSOR_I386, 0},
> !       {"i486", PROCESSOR_I486, 0},
> !       {"i586", PROCESSOR_PENTIUM, 0},
> !       {"pentium", PROCESSOR_PENTIUM, 0},
> !       {"pentium-mmx", PROCESSOR_PENTIUM, PTA_MMX},
> !       {"i686", PROCESSOR_PENTIUMPRO, 0},
> !       {"pentiumpro", PROCESSOR_PENTIUMPRO, 0},
> !       {"pentium2", PROCESSOR_PENTIUMPRO, PTA_MMX},
> !       {"pentium3", PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | PTA_SSEPREFETCH},
> !       {"pentium4", PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 |
> ! 				       PTA_MMX | PTA_SSEPREFETCH},
> !       {"k6", PROCESSOR_K6, PTA_MMX | PTA_3DNOW},
> !       {"k6-2", PROCESSOR_K6, PTA_MMX | PTA_3DNOW},
> !       {"k6-3", PROCESSOR_K6, PTA_MMX | PTA_3DNOW},
> !       {"athlon", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH | PTA_3DNOW
> ! 				   | PTA_3DNOW_A},
> !       {"athlon-tbird", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH
> ! 		       | PTA_3DNOW | PTA_3DNOW_A},

Tbird or thunderbird?

> !       {"athlon4", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH | PTA_3DNOW
> ! 				    | PTA_3DNOW_A},
> !       {"athlon-xp", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH | PTA_3DNOW
> ! 				      | PTA_3DNOW_A},
> !       {"athlon-mobille", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH

mobile
> ! 					   | PTA_3DNOW | PTA_3DNOW_A},
> !       {"athlon-mp", PROCESSOR_ATHLON, PTA_MMX | PTA_SSEPREFETCH | PTA_3DNOW
> ! 				      | PTA_3DNOW_A | PTA_SSE},

The last three have the palamino kernel and have PTA_SSE.  I propose
to merge them to Athlon-Palamino,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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