about ICEs with gcc3.
The difference now is that SSE2+ generally works in i386, due to some
evil hacks in liboil which work around gcc's problems. With gcc4
everything is fine for me. So disable the functions suspected to cause
ICEs only for gcc<4 on i386.
This hopefully fixes PR pkg/36142 by Gilles Gravier.
changes:
- Finally integrated the SSE stack realignment wrappers and reenabled
the SSE intrinsics code.
- Migrated some new classes from Schroedinger for adding/subtracting
s16 and u8 values.
- Improved CPU detection on Solaris
- Remove XScale timestamping function, since it's not available from
user space
- Export oil_debug_print(), so the OIL_DEBUG() macros can be used
outside the library.
- Various new implementations.
changes:
- Lots of new classes and implementations were added for Schrödinger.
- Several i386 implementations also compile on amd64, so these were
copied over to a separate directory and are now enabled on amd64.
- Feature detection on amd64 has been fixed.
- All known startup warnings have been fixed.
- The core now handles arrays that are 'N plus a constant' in length.
- Wrap a bunch of functions in HAVE_UNALIGNED_ACCESS to indicate that
they require an architecture that handles unaligned access.
PR pkg/34886. Just #ifdef out the code on i386; it was disabled at
another layer anyway (due to alignment problems with any gcc on i386).
Thanks to Robert for testing.
-Make sure cpuid is read on amd64, to enable mmx/sse support. (We could
just assume it, but for the future this makes more sense.)
-bump PKGREVISION
Liboil is a library of simple functions that are optimized for various CPUs.
These functions are generally loops implementing simple algorithms, such as
converting an array of N integers to floating-point numbers or multiplying
and summing an array of N numbers. Such functions are candidates for
significant optimization using various techniques, especially by using
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
Many multimedia applications and libraries already do similar things
internally. The goal of this project is to consolidate some of the code
used by various multimedia projects and also make optimizations easier to
use by a broader range of applications.
This is needed for the upcoming gstreamer 0.10.