Re: What to do with package that wants to use sse?

2009-11-02 Thread Adam Jackson
On Sat, 2009-10-31 at 09:25 +0100, Nicolas Chauvet wrote: 2009/10/31 Bruno Wolff III br...@wolff.to: I am working on packaging pagedgeometry and I noticed that when building on gcc it passes -msse which I am guessing says to use sse instructions. I think that even in F12 we can't assume

Re: What to do with package that wants to use sse?

2009-11-02 Thread Bruno Wolff III
On Mon, Nov 02, 2009 at 09:43:30 -0500, Adam Jackson a...@redhat.com wrote: Strictly, this is not true. Newer binutils has a feature called indirect functions that lets you do (logically, this is not what the syntax actually looks like): Can you point us to some documentation on this? Is

Re: What to do with package that wants to use sse?

2009-11-02 Thread Adam Jackson
On Mon, 2009-11-02 at 08:49 -0600, Bruno Wolff III wrote: On Mon, Nov 02, 2009 at 09:43:30 -0500, Adam Jackson a...@redhat.com wrote: Strictly, this is not true. Newer binutils has a feature called indirect functions that lets you do (logically, this is not what the syntax actually

Re: What to do with package that wants to use sse?

2009-10-31 Thread Nicolas Chauvet
2009/10/31 Bruno Wolff III br...@wolff.to: I am working on packaging pagedgeometry and I noticed that when building on gcc it passes -msse which I am guessing says to use sse instructions. I think that even in F12 we can't assume these instructions are available. The package may gain a lot of

Re: What to do with package that wants to use sse?

2009-10-31 Thread Bruno Wolff III
On Sat, Oct 31, 2009 at 09:25:30 +0100, Nicolas Chauvet kwiz...@gmail.com wrote: -msse is fine for x86_64 and ia64 by default (but not for non-intel arches). The only way to have sse enabled on ix86 is for a library to be built twice, the provides the sse version in %{_libdir}/sse2. The

Re: What to do with package that wants to use sse?

2009-10-31 Thread Adam Williamson
On Sat, 2009-10-31 at 09:29 -0500, Bruno Wolff III wrote: That is very useful information. It sounds like I will want to do this for this package, since enabling sse2 will turn on the sse instructions and sse2 might turn out to be useful for this code as well. Now I would really like to

Re: What to do with package that wants to use sse?

2009-10-31 Thread Bruno Wolff III
On Sat, Oct 31, 2009 at 09:33:13 -0700, Adam Williamson awill...@redhat.com wrote: On Sat, 2009-10-31 at 09:29 -0500, Bruno Wolff III wrote: That is very useful information. It sounds like I will want to do this for this package, since enabling sse2 will turn on the sse instructions and

Re: What to do with package that wants to use sse?

2009-10-31 Thread Toshio Kuratomi
On Sat, Oct 31, 2009 at 09:33:13AM -0700, Adam Williamson wrote: On Sat, 2009-10-31 at 09:29 -0500, Bruno Wolff III wrote: That is very useful information. It sounds like I will want to do this for this package, since enabling sse2 will turn on the sse instructions and sse2 might turn out

What to do with package that wants to use sse?

2009-10-30 Thread Bruno Wolff III
I am working on packaging pagedgeometry and I noticed that when building on gcc it passes -msse which I am guessing says to use sse instructions. I think that even in F12 we can't assume these instructions are available. The package may gain a lot of benefit from using those instructions. (I

Re: What to do with package that wants to use sse?

2009-10-30 Thread Adam Williamson
On Fri, 2009-10-30 at 23:07 -0500, Bruno Wolff III wrote: I am working on packaging pagedgeometry and I noticed that when building on gcc it passes -msse which I am guessing says to use sse instructions. I think that even in F12 we can't assume these instructions are available. The package may