From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"
Date: Tue, 26 May 2009 07:10:08 +0200 [thread overview]
Message-ID: <200905260710.08709.volkerarmin@googlemail.com> (raw)
In-Reply-To: <195F8064-21ED-4FBB-8C2D-78F45FBAF59A@stellar.eclipse.co.uk>
On Dienstag 26 Mai 2009, Stroller wrote:
> On 26 May 2009, at 05:37, Volker Armin Hemmann wrote:
> > ...
> > If a package would build using say 3dnow without the cpu supporting
> > it it will
> > crash with an instruction error. So either it works always or never.
>
> Hmmmn.... so if I use it my applications might crash, but it's safe to
> use?
>
> The mplayer ebuild is stated to be "intelligent" about ignoring these
> flags if necessary, so I'm not sure that "if mplayer works, so will
> everything else" is a safe conclusion. My question was exactly if it
> was so - are other ebuilds also as "intelligent" as mplayer?
>
> > Just look at /proc/cpuinfo you find everything you need to know
> > there. It
> > isn't hard. In fact, it is really ,really simple.
>
> I'd disagree. If it were really simple, Portage would take care of it
> automagically for me. It (apparently?) doesn't.
portage does not take care. mplayers build has a cpu feature autodection.
Different stuff. Really.
>
> It's kinda a pain to have to look up what's supported on each system,
> and then edit make.conf accordingly. Especially as some translation is
> required: Adam Carter states, 'apparently "pni" = sse3'. What else
> might be this or that or something else? The suggested `grep flags /
> proc/cpuinfo` shows "apic sep mtrr" amongst others, but there appears
> no USE flags corresponding to those. Or are there?
apic is interrupt controller. mtrr is about ram access - and supported since
pentium ... 1? mmx? 2? very early. There are no flags, because that stuff
really is nothing apps care about (with the exception of X and mtrr - luckily
for you, that is nothing YOU have to care about).
> Looks like `echo media-video/mplayer mmx mmxext sse sse2 ssse3 3dnow
> 3dnowext >> /etc/portage/package.use` unless someone else is able to
> be more informative.
yeah, except that is bullshit
no pentium can do 3dnow. Or was there a 3dnow flag in /proc/mtrr? No? Then
don't even touch it. Same for ssse3. This has nothing to do with sse3. It is
something completly different. And p4 never had this.
Enable mmx, mmxext, sse, sse2 for everything and you are fine. Check for pni
if you want sse3. Everything else is not for you.
look also here:
http://en.wikipedia.org/wiki/Pentium_4
as you can see:MMX, SSE, SSE2, SSE3 but sse3 only if you have 'pni' among your
cpu's features.
next prev parent reply other threads:[~2009-05-26 5:10 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 4:27 [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext" Stroller
2009-05-26 4:37 ` Adam Carter
2009-05-26 4:59 ` Volker Armin Hemmann
2009-05-26 4:37 ` Volker Armin Hemmann
2009-05-26 5:00 ` Stroller
2009-05-26 5:10 ` Volker Armin Hemmann [this message]
2009-05-26 6:15 ` Stroller
2009-05-26 6:27 ` Volker Armin Hemmann
2009-05-26 8:34 ` Stroller
2009-05-26 14:31 ` Daniel Iliev
2009-05-26 21:07 ` Stroller
2009-05-27 0:47 ` Daniel Iliev
2009-05-27 8:14 ` Stroller
2009-05-27 10:00 ` Daniel Iliev
2009-05-27 12:14 ` Stroller
2009-05-27 19:57 ` Wyatt Epp
2009-05-27 20:04 ` Volker Armin Hemmann
2009-05-27 20:09 ` Alan McKinnon
2009-05-27 20:40 ` Wyatt Epp
2009-05-27 20:47 ` Volker Armin Hemmann
2009-05-27 21:04 ` Mike Edenfield
2009-05-27 21:12 ` Alan McKinnon
2009-05-27 23:00 ` Adam Carter
2009-05-27 20:08 ` Ward Poelmans
2009-05-27 21:04 ` Mike Edenfield
2009-05-27 21:23 ` Arttu V.
2009-05-28 10:17 ` Daniel Iliev
2009-05-28 19:13 ` Stroller
2009-05-28 20:08 ` Ward Poelmans
2009-05-28 20:19 ` Stroller
2009-05-28 20:27 ` Ward Poelmans
2009-05-28 20:38 ` Stroller
2009-05-29 5:30 ` Graham Murray
2009-05-29 6:36 ` Volker Armin Hemmann
2009-05-29 6:55 ` Volker Armin Hemmann
2009-05-29 15:25 ` Mike Edenfield
2009-05-29 7:51 ` Neil Bothwick
2009-05-26 22:20 ` KH
2009-05-26 22:26 ` KH
2009-05-26 22:32 ` Alan McKinnon
2009-05-26 13:26 ` [gentoo-user] " James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200905260710.08709.volkerarmin@googlemail.com \
--to=volkerarmin@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox