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: PATCH: PR target/44046: Intel Core i5 M520 CPU detected as atom with -march=native


> On Sun, May 9, 2010 at 7:47 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> > On Sun, May 9, 2010 at 7:45 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> >>> Hi,
> >>>
> >>> This patch detects Atom, Core 2 and Core i7, based on CPU family and
> >>> model. ?Tested on Atom, Core 2 and Core i7. ?OK for trunk and 4.5?
> >>>
> >>> Thanks.
> >>>
> >>>
> >>> H.J.
> >>> ---
> >>> 2010-05-09 ?H.J. Lu ?<hongjiu.lu@intel.com>
> >>>
> >>> ? ? ? PR target/44046
> >>> ? ? ? * config/i386/driver-i386.c (host_detect_local_cpu): Properly
> >>> ? ? ? support Atom, Core 2 and Core i7.
> >>>
> >>> + ? ? case 0x17:
> >>> + ? ? case 0x1d:
> >>> + ? ? ? /* Penryn. ?FIXME: -mtune=core2 is slower than -mtune=generic ?*/
> >>> + ? ? ? cpu = "core2";
> >>> + ? ? ? break;
> >>> + ? ? case 0x0f:
> >>> + ? ? ? /* Merom. ?FIXME: -mtune=core2 is slower than -mtune=generic ?*/
> >>> + ? ? ? cpu = "core2";
> >>> + ? ? ? break;
> >>
> >> Can you just look through the core2 settings and fix those? ?It is definitly a bug.
> >
> > The main problem is there is no scheduler for Core 2. ?Hopefully, it
> > will be fixed soon.
> >
> 
> I meant to say is we are working on Core 2 optimization.
> 
> I'd like to backport to 4.4 also. OK for 4.4?

Yes, it is OK to backport it after few days if there are no complains.

Honza


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