Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: -march=? for this cpu
Date: Thu, 11 Apr 2013 13:11:35
Message-Id: 5166B674.3000702@nileshgr.com
In Reply to: [gentoo-user] Re: -march=? for this cpu by Nikos Chantziaras
1 On Thursday 11 April 2013 06:33:17 PM IST, Nikos Chantziaras wrote:
2 > On 09/04/13 06:50, Nilesh Govindrajan wrote:
3 >> [...]
4 >> This is the /proc/cpuinfo:
5 >>
6 >> processor : 0
7 >> vendor_id : GenuineIntel
8 >> cpu family : 6
9 >> model : 2
10 >> model name : QEMU Virtual CPU version 1.0
11 >>
12 >> [...]
13 >> Any idea what should be the march/mtune value?
14 >
15 > Your best bet is to ask this on the qemu mailing list.
16 >
17 >
18
19 Probably not. I learned from the qemu wiki that it can emulate various
20 kinds of processors.
21 So, they're probably sticking with Intel inside guests irrespective of
22 the host.
23 Also it is a gcc/qemu bug that the CPU is detected as pentium m. As
24 someone posted earlier, gcc 4.4 gives core2.
25 But actually, even that's wrong. I changed the flag and ended up
26 getting illegal instruction for many.
27
28 Thankfully I tried that on a new machine.
29
30 Presently installing Gentoo 32 bit on that new VM with -march=i686
31 -mtune=native and it's working great.

Attachments

File name MIME type
smime.p7s application/pkcs7-signature

Replies

Subject Author
Re: [gentoo-user] -march=? for this cpu Stroller <stroller@××××××××××××××××××.uk>