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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user