The sse version works correctly and is implemented portable. The only problem is that at least for linux, memory allocated on the heap isn't guaranteed to be 16 byte aligned and FastSoundRead() depends on both dest and src being 16 byte aligned. This could easily be overcome in the same way as FastSoundWrite.

This commit is contained in:
Steve Checkoway
2006-06-19 05:24:41 +00:00
parent 7dce2e2825
commit 7c8b1903e4
@@ -1,7 +1,7 @@
#ifndef VECTOR_HELPER_H
#define VECTOR_HELPER_H
#if defined(__VEC__) || (defined(__SSE__) && 0)
#if defined(__VEC__) || defined(__SSE__)
namespace Vector
{
bool CheckForVector();