On Sat, Dec 31, 2011 at 03:42:35PM +0100, Harry van der Wolf wrote:
> I have now also compiled multiblend for i386 and x86_64 for OSX. I don't
> think ppc will succeed as sse2 is not supported on ppc.

The code just uses some optimizations that can easily be written out
for other processors.

For example: 

__m128i _mm_add_epi16 (__m128i a, __m128i b);

would be something like: 

typedef short[8] __m128i; 

__m128i add_epi16 (__m128i a, __m128i b)
{
  int i;
  __m128i t; 

  for (i=0;i<8;i++) 
     t[i] = a[i] + b[i];
  return t;
}

The question is: does the compiler support passing 128bit variables
around like that.

The thing is that sse speeds this kind of operation up a lot. :-)

Hopefully a library that provides these compatibility functions
already exists.

        Roger. 

-- 
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to