[ANN] macstl 0.2 -- portable SIMD toolkit, fast valarray transcendentals, fast Mach vectors

G

glenlow

It has been a rough ride on the road from 0.1.5 (way back in 2003) and
hard work and sleepless nights -- today, I'm proud to announce the
immediate availability of macstl 0.2 -- the C++ header library designed
to bring SIMD (single instruction multiple data) and the Mac into the
world of modern generic programming.

http://www.pixelglow.com/macstl/

Just some of the new features:
* Compiles on Xcode 1.5 gcc 3.3, Codewarrior 9.3 and Visual C++ .NET
2003.
* Highly performant transcendental functions that are accurate to
within 5 ulp. E.g. do a simple sin(x) * cos (y) + cos (x) * sin (y) and
it will run 16.1x faster with Codewarrior on a G5 than a scalar loop of
the same.
* Automatic fused multiply-add optimizations for valarrays. Don't think
fma, just code x * y + z -- or even w * x + y * z.
* Complex number arithmetic that is 3.1x faster than scalar complex
numbers.
* Those missing opcodes in the Altivec core -- Integer division and
modulus -- for all Altivec integer types. Faster than scalar division
on random data.
* Totally revamped, newly portable SIMD classes -- a valarray inside a
SIMD register -- plug in your favorite SIMD CPU, reuse all the
intrinsics or use the arithmetic you're used to since high school.

That not enough? How about these new areas:
* Fully tested and benchmarked std::vector on the Mach allocator. Copy
vectors 400x faster, insert into vectors 3x faster.
* Adaptors for Core Foundation and Foundation classes, bridge them to
STL and generic programming seamlessly.
* A clean COM server implementation for CFPlugIns. No ugly ATL macros,
well understood object lifetimes and best of all -- a super fast
QueryInterface implementation.
* Memory mapped containers. Share memory between your 64-bit process
and your 32-bit GUI using STL conventions. Or just plain throw away
your I/O and serialization code.

I've relicensed macstl for maximum flexibility. It's now a dual license
under the open-source RPL and the proprietary PSL -- either you
reciprocate all the code derived from mine, or you pay for a
registration. Fees are competitive and low, and you get free upgrades,
SVN access, priority support and eternal thanks from me!

Cheers, Glen Low
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top