On mer, ago 28, 2013 at 06:20:56 -0400, Felipe Sateler wrote:
> On Wed, Aug 28, 2013 at 5:50 PM, Alessandro Ghedini <gh...@debian.org> wrote:
> > On Wed, Aug 28, 2013 at 09:56:16PM +0200, Jaromír Mikeš wrote:
> >> Hi,
> >>
> >> can we build package which having SSE optimization enabled on some archs?
> >> Upstream of caps wishes that.
> >
> > AFAICT, caps already enables SSE by default... that's why it currently FTBFS
> > everywhere except on (kfreebsd-)amd64 [0]. This seems to be fixed in the new
> > upstream release (currently in git) though, which includes the "#ifdef 
> > __SSE__"
> > checks.
> >
> > So IMO there's no need for you to do anything, since SSE already gets 
> > enabled
> > only where it's supported (in the upstream version currently in git).
> 
> Debian is supposed to support i486 computers. What happens if caps
> detects SSE in the buildd? i386 binaries should not have such
> optimizations by default.

The i386 toolchain defaults to not enabling SSE, but the configure.py script
may detect it from /proc/cpuinfo and enable it by passing -msse to gcc. IMO the
configure checks can be removed, since the -msse and -mfpmath=sse (and probably
-msse3 too, but I'm not sure) are already enabled by default on amd64, which is
the only place where it's safe to enable SSE optimizations. ATM i386 seems to
build fine (without SSE) so this is not very urgent.

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to