Summary: | Enhancement for sys-libs/zlib-1.2.1-r2 (adding asm optimisations for x86) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan Briesenick (RETIRED) <sbriesen> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | ka0ttic, kfm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
zlib-1.2.1-r2.ebuild
zlib-1.2.1-r2.ebuild.diff zlib-1.2.1-asm.patch |
Description
Stefan Briesenick (RETIRED)
![]() Created attachment 36153 [details]
zlib-1.2.1-r2.ebuild
New zlib-1.2.1-r2 ebuild
Created attachment 36154 [details, diff]
zlib-1.2.1-r2.ebuild.diff
diff only, use it against original zlib-1.2.1-r2.ebuild
Created attachment 36155 [details, diff]
zlib-1.2.1-asm.patch
Patch for Makefile.in. Put it into $FILESDIR.
could be probably merged with zlib-1.2.1-build-fPIC.patch
do these optimizations still outperform modern GCCs? don't know, never tested. On the other hand, my ebuild patch is somewhat outdated. I suggest to just close that bug as WONTFIX. btw: it would be cool to strip "-ftree-vectorize" from CFLAGS for zlib, since it breaks many programs, incl. most GTK-apps. I don't know why, since many other apps just run fine with zlib compiled with -ftree-vectorize. But as soon as you compile zlib again w/o that option, that broken apps are instantly working. thanks, closing. the tree-vectorize depends on your gcc ;-). hmmm, I had the problem with 4.1.x (not tested anymore for some weeks). Is it fixed now? i didn't have much in the way of GTK stuff to test with, but I haven't specifically seen problems - maybe open a seperate bug for tree-vectorize. |