Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-29 Thread Mike Edenfield
Stroller writes: But, surely "-march=" also instructs gcc to support the additional instructions. Suggest you re-read Daniel's post that I was replying to. What's the difference between supporting the "certain set of instructions" with "-march=" and doing so with USEs? One is for telling gcc

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-29 Thread Neil Bothwick
On Thu, 28 May 2009 21:19:37 +0100, Stroller wrote: > What's the difference between supporting the "certain set of > instructions" with "-march=" and doing so with USEs? -march determines how the code is compiled. USE determines which code is compiled. -- Neil Bothwick Runtime Error: Out of

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Volker Armin Hemmann
On Freitag 29 Mai 2009, Graham Murray wrote: > Stroller writes: > > But, surely "-march=" also instructs gcc to support the additional > > instructions. Suggest you re-read Daniel's post that I was replying > > to. > > > > What's the difference between supporting the "certain set of > > instructi

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Volker Armin Hemmann
On Freitag 29 Mai 2009, Graham Murray wrote: > Stroller writes: > > But, surely "-march=" also instructs gcc to support the additional > > instructions. Suggest you re-read Daniel's post that I was replying > > to. > > > > What's the difference between supporting the "certain set of > > instructi

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Graham Murray
Stroller writes: > But, surely "-march=" also instructs gcc to support the additional > instructions. Suggest you re-read Daniel's post that I was replying > to. > > What's the difference between supporting the "certain set of > instructions" with "-march=" and doing so with USEs? > > Or doesn't

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Stroller
On 28 May 2009, at 21:27, Ward Poelmans wrote: On Thu, May 28, 2009 at 22:19, Stroller > wrote: What's the difference between supporting the "certain set of instructions" with "-march=" and doing so with USEs? Or doesn't "-march=" support additional "certain sets of instructions". What do

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Ward Poelmans
On Thu, May 28, 2009 at 22:19, Stroller wrote: > What's the difference between supporting the "certain set of instructions" > with "-march=" and doing so with USEs? > > Or doesn't "-march=" support additional "certain sets of instructions". What > does it do, then? The difference is that with the

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Stroller
On 28 May 2009, at 21:08, Ward Poelmans wrote: On Thu, May 28, 2009 at 21:13, Stroller > wrote: I'm not absolutely sure that the USE flags enable hand-written assembler code, but what I do know is that: Don't make it more difficult then it is. SSE, etc means the CPU support a certain set

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Ward Poelmans
On Thu, May 28, 2009 at 21:13, Stroller wrote: > > I'm not absolutely sure that the USE flags enable hand-written assembler > code, but what I do know is that: Don't make it more difficult then it is. SSE, etc means the CPU support a certain set of instructions. When you enable the use flag for i

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Stroller
On 28 May 2009, at 11:17, Daniel Iliev wrote: ... Not the same thing. "-march=" instructs gcc to produce a binary designed to run only on the given CPU architecture, while USE flags instruct the build system to include or not support for a given feature ... Actually, I _think_ in mplayer the d

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-28 Thread Daniel Iliev
On Thu, 28 May 2009 00:23:52 +0300 "Arttu V." wrote: > On 5/27/09, Wyatt Epp wrote: > > Reading this thread, though, it seems like it would be useful to > > have a FEATURES=cpudetection for Portage. > > Congratulations, it's already there! Sort of. -march=native ;) > Not the same thing. "-mar

RE: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Adam Carter
> > > actually care about moving binary packages around. Thoughts? > > > > thoughts: there are distros that hold your hand already. > > There's also Windows. For just in case Ubuntu doesn't hold > enough of your hand. I'm with Wyatt on this one. Can we appreciate there may be a difference betwe

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Arttu V.
On 5/27/09, Wyatt Epp wrote: > Reading this thread, though, it seems like it would be useful to have a > FEATURES=cpudetection for Portage. Congratulations, it's already there! Sort of. -march=native ;) -- Arttu V.

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Alan McKinnon
On Wednesday 27 May 2009 23:04:54 Mike Edenfield wrote: > On 5/27/2009 4:40 PM, Wyatt Epp wrote: > > On Wed, May 27, 2009 at 4:09 PM, Alan McKinnon > > wrote: > > > > On Wednesday 27 May 2009 22:04:06 Volker Armin Hemmann wrote: > > > thoughts: there are di

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Mike Edenfield
On 5/27/2009 4:40 PM, Wyatt Epp wrote: On Wed, May 27, 2009 at 4:09 PM, Alan McKinnon mailto:alan.mckin...@gmail.com>> wrote: On Wednesday 27 May 2009 22:04:06 Volker Armin Hemmann wrote: > > thoughts: there are distros that hold your hand already. There's also Windows. For ju

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Mike Edenfield
On 5/27/2009 4:08 PM, Ward Poelmans wrote: On Wed, May 27, 2009 at 21:57, Wyatt Epp wrote: Reading this thread, though, it seems like it would be useful to have a FEATURES=cpudetection for Portage. I honestly don't understand why the user should have to be arsed to set those USEs manually if t

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Volker Armin Hemmann
On Mittwoch 27 Mai 2009, Wyatt Epp wrote: > On Wed, May 27, 2009 at 4:09 PM, Alan McKinnon wrote: > > On Wednesday 27 May 2009 22:04:06 Volker Armin Hemmann wrote: > > > thoughts: there are distros that hold your hand already. > > > > There's also Windows. For just in case Ubuntu doesn't hold enou

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Wyatt Epp
On Wed, May 27, 2009 at 4:09 PM, Alan McKinnon wrote: > On Wednesday 27 May 2009 22:04:06 Volker Armin Hemmann wrote: > > > > thoughts: there are distros that hold your hand already. > > There's also Windows. For just in case Ubuntu doesn't hold enough of your > hand. Oh right, what was I thinki

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Alan McKinnon
On Wednesday 27 May 2009 22:04:06 Volker Armin Hemmann wrote: > On Mittwoch 27 Mai 2009, Wyatt Epp wrote: > > On Wed, May 27, 2009 at 8:14 AM, Stroller > > wrote: > > > Of course, the amount of time I've spent on this thread, I could > > > perhaps have learned *exactly* what all these extended inst

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Ward Poelmans
On Wed, May 27, 2009 at 21:57, Wyatt Epp wrote: > Reading this thread, though, it seems like it would be useful to have a > FEATURES=cpudetection for Portage.  I honestly don't understand why the user > should have to be arsed to set those USEs manually if they don't actually > care about moving b

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Volker Armin Hemmann
On Mittwoch 27 Mai 2009, Wyatt Epp wrote: > On Wed, May 27, 2009 at 8:14 AM, Stroller wrote: > > Of course, the amount of time I've spent on this thread, I could perhaps > > have learned *exactly* what all these extended instruction sets do, who > > designed them, whether they're cross-licensed be

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Wyatt Epp
On Wed, May 27, 2009 at 8:14 AM, Stroller wrote: > > Of course, the amount of time I've spent on this thread, I could perhaps > have learned *exactly* what all these extended instruction sets do, who > designed them, whether they're cross-licensed between manufacturers and what > their prospects a

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Stroller
On 27 May 2009, at 11:00, Daniel Iliev wrote: ... I'm afraid the common sense says disabling the "cpudetection" USE flag could lead to the problem I described in my previous message. Please, don't get me wrong - I'm not arguing and I've never tried to build mplayer with EIS that is unsupported b

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Daniel Iliev
On Wed, 27 May 2009 09:14:03 +0100 Stroller wrote: > > On 27 May 2009, at 01:47, Daniel Iliev wrote: > > > > There could be problems if you had enabled all the EIS flags > > globally (in make.conf) instead only for mplayer, because other > > programs don't have the "run-time cpu detection" featu

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-27 Thread Stroller
On 27 May 2009, at 01:47, Daniel Iliev wrote: Yes, just add "cpudetection" to those or put it in in make.conf. Apparently not! I rebuilt using that flag & received this message: * You've enabled the cpudetection flag. This feature is * included mainly for people who want to use the same

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread Daniel Iliev
On Tue, 26 May 2009 22:07:10 +0100 Stroller wrote: > > On 26 May 2009, at 15:31, Daniel Iliev wrote: > > > >> 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. > >> > > > > Yes,

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread Alan McKinnon
On Wednesday 27 May 2009 00:20:50 KH wrote: > Hi, > > so I temporarily disable all USE flags in my make.conf by adding the "#" > to the line. Some with package.use. > The I run : > > USE="cpudetection" emerge -pv mplayer > > See output below. > > So what changes for me: oss is added. That's nothing

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread KH
KH schrieb: > Hi, > > so I temporarily disable all USE flags in my make.conf by adding the "#" > to the line. Some with package.use. > The I run : > > USE="cpudetection" emerge -pv mplayer > > > Is this a valid way of approache? > >From Stroller: Apparently not! I rebuilt using that flag

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread KH
Hi, so I temporarily disable all USE flags in my make.conf by adding the "#" to the line. Some with package.use. The I run : USE="cpudetection" emerge -pv mplayer See output below. So what changes for me: oss is added. That's nothing for hardware and I use alsa, so I don't need it, do I? -aalib

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread Stroller
On 26 May 2009, at 15:31, Daniel Iliev wrote: 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. Yes, just add "cpudetection" to those or put it in in make.conf. Apparently not! I

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread Daniel Iliev
On Tue, 26 May 2009 06:00:10 +0100 Stroller wrote: > 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. > > Stroller. > Yes, just add "cpudetection" to those or put it in in

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-26 Thread Stroller
On 26 May 2009, at 07:27, Volker Armin Hemmann wrote: ... I did think that. But with other instructions adopted by the other manufacturer (eg. Intel adopted the amd64 architecture, I think?) it seemed odd that a set of instructions would be ignored so long. because 3dnow is/was very unimportan

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Volker Armin Hemmann
On Dienstag 26 Mai 2009, Stroller wrote: > On 26 May 2009, at 06:10, Volker Armin Hemmann wrote: > >> ... > >> 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. M

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Stroller
On 26 May 2009, at 06:10, Volker Armin Hemmann wrote: ... 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

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Volker Armin Hemmann
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 ap

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Stroller
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 m

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Volker Armin Hemmann
On Dienstag 26 Mai 2009, Adam Carter wrote: > 'grep flags /proc/cpuinfo' to see what features the CPU supports, and add > those to USE. You'll recognise most but apparently "pni" = sse3 (but then > my core2 also shows ssse3 as wellodd) ssse3 is not sse3 different stuff.

Re: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Volker Armin Hemmann
On Dienstag 26 Mai 2009, Stroller wrote: > Hi there, > > I'm always rather reluctant to enable any of these, being unsure > whether my ageing PentiumPro or Pentium 4 CPUs support such features > as 3DNow! (originally an AMD technology) or the advanced SE3. > > According to this page

RE: [gentoo-user] USE="mmx mmxext sse sse2 ssse3 3dnow 3dnowext"

2009-05-25 Thread Adam Carter
'grep flags /proc/cpuinfo' to see what features the CPU supports, and add those to USE. You'll recognise most but apparently "pni" = sse3 (but then my core2 also shows ssse3 as wellodd)