Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 288999 Details for
Bug 384149
gcc detects cpu as pentium-m when using -march=native on qemu-kvm-0.15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to gcc for longmode detection
core2gcc.patch (text/plain), 545 bytes, created by
Matthew Thode ( prometheanfire )
on 2011-10-06 17:14:22 UTC
(
hide
)
Description:
patch to gcc for longmode detection
Filename:
MIME Type:
Creator:
Matthew Thode ( prometheanfire )
Created:
2011-10-06 17:14:22 UTC
Size:
545 bytes
patch
obsolete
>--- gcc-4.5.3/gcc/config/i386/driver-i386.c.orig 2011-10-06 13:09:20.106942506 -0400 >+++ gcc-4.5.3/gcc/config/i386/driver-i386.c 2011-10-06 13:10:41.142940398 -0400 >@@ -573,8 +573,12 @@ > /* If it is an unknown CPU with SSSE3, assume Core 2. */ > cpu = "core2"; > else if (has_sse3) >- /* It is Core Duo. */ >- cpu = "pentium-m"; >+ if (has_longmode) >+ /* It is Core 2 Duo */ >+ cpu = "core2"; >+ else >+ /* It is Core Duo. */ >+ cpu = "pentium-m"; > else if (has_sse2) > /* It is Pentium M. */ > cpu = "pentium-m";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 384149
:
287459
|
287461
|
288999
|
289599