[PD-cvs] pd/src m_memory.c,1.1.1.2.2.3,1.1.1.2.2.4 m_simd.h,1.1.2.8,1.1.2.9
Tim Blechmann
timblech at users.sourceforge.net
Sat Oct 9 13:53:48 CEST 2004
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13876
Modified Files:
Tag: devel_0_37
m_memory.c m_simd.h
Log Message:
fixed vector alignment
Index: m_simd.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_simd.h,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** m_simd.h 7 Oct 2004 17:56:38 -0000 1.1.2.8
--- m_simd.h 9 Oct 2004 11:53:46 -0000 1.1.2.9
***************
*** 36,40 ****
#include "m_simd_sse_vc.h"
! #elif defined(__GNUC__) && (defined(_X86_) || defined(__i386__) || defined(__i586__) || defined(__i686__))
/* Intel SSE with GNU C */
#define SIMD_BYTEALIGN (128/8) /* align to 128 bits */
--- 36,40 ----
#include "m_simd_sse_vc.h"
! #elif defined(__GNUC__) && (defined(_X86_) || defined(__i386__) || defined(__i586__) || defined(__i686__) )
/* Intel SSE with GNU C */
#define SIMD_BYTEALIGN (128/8) /* align to 128 bits */
***************
*** 69,72 ****
--- 69,80 ----
#define SIMD_CHECK3(n,ptr1,ptr2,ptr3) ( SIMD_CHKCNT(n) && SIMD_CHKALIGN(ptr1) && SIMD_CHKALIGN(ptr2) && SIMD_CHKALIGN(ptr3) && simd_runtime_check() )
+ /* T.Grill - bit alignment for signal vectors (must be a multiple of 8!) */
+ /* if undefined no alignment occurs */
+ #ifdef SIMD_BYTEALIGN
+ #define VECTORALIGNMENT (SIMD_BYTEALIGN*8)
+ #else
+ #define VECTORALIGNMENT 128
+ #endif
+
#endif /* __M_SIMD_H */
Index: m_memory.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/m_memory.c,v
retrieving revision 1.1.1.2.2.3
retrieving revision 1.1.1.2.2.4
diff -C2 -d -r1.1.1.2.2.3 -r1.1.1.2.2.4
*** m_memory.c 7 Oct 2004 17:56:38 -0000 1.1.1.2.2.3
--- m_memory.c 9 Oct 2004 11:53:46 -0000 1.1.1.2.2.4
***************
*** 10,20 ****
/* T.Grill - include SIMD functionality */
#include "m_simd.h"
- /* T.Grill - bit alignment for signal vectors (must be a multiple of 8!) */
- /* if undefined no alignment occurs */
- #ifdef SIMD_BYTEALIGN
- #define VECTORALIGNMENT (SIMD_BYTEALIGN*8)
- #else
- #define VECTORALIGNMENT 128
- #endif
/* #define LOUD */
--- 10,13 ----
More information about the Pd-cvs
mailing list