[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] AltiVec functions that operate on "half"
From: |
Derek Ledbetter |
Subject: |
[Openexr-devel] AltiVec functions that operate on "half" |
Date: |
Thu, 28 Aug 2003 16:54:05 -0700 |
I wrote two functions that use AltiVec (the vector processing unit on
the PowerPC G4 and G5) to convert between "half"s and "float"s. I found
that converting a large array of "float"s to "half"s is about three
times faster using AltiVec, and it's about 1.7 times as fast going the
other way. I figure that they should be useful for other functions too.
<http://www.serve.com/derekl/openexr/AltiVecHalfConversion.html>
--
Derek Ledbetter
address@hidden