Bug#722188: Optimizations are not properly applied

2022-04-16 Thread Boyuan Yang
Hi,

On Sun, 08 Sep 2013 23:13:54 +0200 "Steinar H. Gunderson"
 wrote:
> Source: libdvbcsa
> Version: 1.1.0-2
> Severity: normal
> 
> Hello,
> 
> It seems that debian/rules contains:
> 
>   ifeq ($(DEB_HOST_ARCH),amd64)
>   EXTRA_CONFIGURE_ARGS += --enable-mmx --enable-sse2
>   endif
> 
> --enable-mmx overrides --enable-sse2, so this means that the package is
built
> without SSE2 optimizations.

Thanks for the info, this is indeed a bug. I will have it fixed in the next
upload in the next few hours.

> Furthermore, it means that 32-bit packages are not
> built with MMX or SSE2 support, despite every single CPU the last ten years
> (and certainly every CPU anyone would want to decode DVB-CSA on) has
supported
> SSE2. (MMX was added in 1997!)

According to Debian's architecture baseline (
https://wiki.debian.org/ArchitectureSpecificsMemo ), MMX or SSE2 is forbidden
for 32-bit i386 build. Debian's "i386" should only support up to i686. I
cannot add such build flag. Sorry.

> Finally, --enable-altivec should probably be enabled on appropriate CPUs.

According to Debian's architecture baseline (
https://wiki.debian.org/ArchitectureSpecificsMemo ), altivec is not guaranteed
on any architecture. I cannot add such build flag. Sorry.


Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part


Bug#722188: Optimizations are not properly applied

2013-09-08 Thread Steinar H. Gunderson
Source: libdvbcsa
Version: 1.1.0-2
Severity: normal

Hello,

It seems that debian/rules contains:

  ifeq ($(DEB_HOST_ARCH),amd64)
  EXTRA_CONFIGURE_ARGS += --enable-mmx --enable-sse2
  endif

--enable-mmx overrides --enable-sse2, so this means that the package is built
without SSE2 optimizations. Furthermore, it means that 32-bit packages are not
built with MMX or SSE2 support, despite every single CPU the last ten years
(and certainly every CPU anyone would want to decode DVB-CSA on) has supported
SSE2. (MMX was added in 1997!)

Finally, --enable-altivec should probably be enabled on appropriate CPUs.

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (750, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-rc5 (SMP w/16 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org