[Openexr-devel] Vector-of-float to vector-of-half conversion?

2011-07-19 Thread Florian Kainz


Have any of you tried to convert vectors of 32-bit floating-point
numbers to vectors of 16-bit floating-point numbers in a way that
is faster than calling OpenEXR's half-from-float constructor for
each vector element?  Maybe using MMX, SSE or AVX instructions?

___
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel


Re: [Openexr-devel] Vector-of-float to vector-of-half conversion?

2011-07-19 Thread James Bowman
Yes, I have some SSE code that converts four floats in parallel.
I can dig it out if anyone is interested...

J.

On Tue, Jul 19, 2011 at 11:19 AM, Florian Kainz ka...@ilm.com wrote:


 Have any of you tried to convert vectors of 32-bit floating-point
 numbers to vectors of 16-bit floating-point numbers in a way that
 is faster than calling OpenEXR's half-from-float constructor for
 each vector element?  Maybe using MMX, SSE or AVX instructions?

 __**_
 Openexr-devel mailing list
 Openexr-devel@nongnu.org
 https://lists.nongnu.org/**mailman/listinfo/openexr-develhttps://lists.nongnu.org/mailman/listinfo/openexr-devel




-- 
James Bowman
http://www.excamera.com/sphinx/articles-openexr.html
___
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel