Gentoo Archives: gentoo-amd64

From: "Morgan Wesström" <gentoo-amd64@×××××××××.biz>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Optimal AMD64 CFLAGS ?
Date: Thu, 27 Nov 2008 00:49:45
Message-Id: 492DEEA5.3090606@pp.dyndns.biz
In Reply to: [gentoo-amd64] Optimal AMD64 CFLAGS ? by Branko Badrljica
1 Branko Badrljica wrote:
2 > ONe fo my machines still has K8 - AMD64 X2 6000+ in it.
3 >
4 > cat /proc/cpuinfo doesn't list SSE3 capabilities of the CPU, whereas AMD
5 > states that newer AMD64 (2005 and after that) are SSE3 capable and
6 > gcc-4.3.2 has -march=k8-sse3
7 >
8 > Wikipedia states that AMD K8 is SSE3 capable, except for a few
9 > Intel-specific instructions. Maybe that is the reason why it isn't
10 > listed in /proc/cpuinfo ?
11 >
12 >
13 > Until now I have always used -march=k8, but now I wonder whether it
14 > would be safe to use k8-sse3.
15 >
16 > Has anyone tried this yet ?
17 >
18 >
19
20 SSE3 capability is listed as "pni" (Prescott New Instructions) in
21 /proc/cpuinfo flags. I've been using SSE3 with my AMD64 X2 4600+ for 3
22 years now.
23
24 /Morgan