[gentoo-dev] Re: CPU use flag detection

2013-05-21 Thread Ryan Hill
On Sat, 18 May 2013 12:14:35 -0700 Matt Turner wrote: > > MMX2/MMXEXT still confuses me. > > SSE1 and /Enhanced/ 3DNow! added some extra MMX instructions. Some > (pshufw and pmulhuw particularly) turn out to be rather useful in > software compositing. I use them in the pixman MMX code. > > See

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-19 Thread René Neumann
Am 19.05.2013 18:03, schrieb viv...@gmail.com: > On 05/19/13 17:47, Alexis Ballier wrote: >> On Sat, 18 May 2013 22:31:11 -0400 >> "Walter Dnes" wrote: >> >> [...] >>> ...shouldn't "mmxext" be moved out of use.local.desc into use.desc? >> >> all the cpu flags should be global IMHO, regardless of h

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-19 Thread Matt Turner
On Sun, May 19, 2013 at 8:47 AM, Alexis Ballier wrote: > On Sat, 18 May 2013 22:31:11 -0400 > "Walter Dnes" wrote: > > [...] >> ...shouldn't "mmxext" be moved out of use.local.desc into use.desc? > > > all the cpu flags should be global IMHO, regardless of how many packages > use them: we already

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-19 Thread viv...@gmail.com
On 05/19/13 17:47, Alexis Ballier wrote: > On Sat, 18 May 2013 22:31:11 -0400 > "Walter Dnes" wrote: > > [...] >> ...shouldn't "mmxext" be moved out of use.local.desc into use.desc? > > all the cpu flags should be global IMHO, regardless of how many packages > use them: we already mask/unmask them

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-19 Thread Alexis Ballier
On Sat, 18 May 2013 22:31:11 -0400 "Walter Dnes" wrote: [...] > ...shouldn't "mmxext" be moved out of use.local.desc into use.desc? all the cpu flags should be global IMHO, regardless of how many packages use them: we already mask/unmask them globally on arches where they are irrelevant. Alexi

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-18 Thread Walter Dnes
On Sat, May 18, 2013 at 12:14:35PM -0700, Matt Turner wrote > The particularly annoying thing about using them is that there's no > -mmmx2 or -mmmxext... Now that you mention it... [i660][waltdnes][~] grep mmxext /usr/portage/profiles/use.local.desc media-libs/libpostproc:mmxext - Enable mmx2

Re: [gentoo-dev] Re: CPU use flag detection

2013-05-18 Thread Matt Turner
On Fri, May 17, 2013 at 9:39 PM, Ryan Hill wrote: > On Wed, 15 May 2013 16:59:57 +0200 > yac wrote: > >> Hi, >> >> I was recently investigating what cpu flags do I have and how does it >> work. I have put what I have so far at [1]. >> >> So I thought I let you know in case someone wants to chip i

[gentoo-dev] Re: CPU use flag detection

2013-05-17 Thread Ryan Hill
On Wed, 15 May 2013 16:59:57 +0200 yac wrote: > Hi, > > I was recently investigating what cpu flags do I have and how does it > work. I have put what I have so far at [1]. > > So I thought I let you know in case someone wants to chip in. > > [1] https://github.com/yaccz/cufd I've seen gcc -Q