[PD-cvs] pd/src m_simd_ve_gcc.c,1.1.2.4,1.1.2.5 m_simd_ve_gcc.h,1.1.2.5,1.1.2.6

Thomas Grill xovo at users.sourceforge.net
Wed Oct 6 20:52:31 CEST 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8356

Modified Files:
      Tag: devel_0_37
	m_simd_ve_gcc.c m_simd_ve_gcc.h 
Log Message:
small altivec fixes

Index: m_simd_ve_gcc.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_simd_ve_gcc.h,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -C2 -d -r1.1.2.5 -r1.1.2.6
*** m_simd_ve_gcc.h	6 Oct 2004 18:20:04 -0000	1.1.2.5
--- m_simd_ve_gcc.h	6 Oct 2004 18:52:29 -0000	1.1.2.6
***************
*** 13,17 ****
  void setvec_ve_gcc(t_float *dst,t_float v,int n);
  void copyvec_ve_gcc(t_float *dst,const t_float *src,int n);
! void addvec_ve_gcc(t_float *dst,t_float v,int n);
  
  t_int *zero_perf_ve_gcc(t_int *w);
--- 13,17 ----
  void setvec_ve_gcc(t_float *dst,t_float v,int n);
  void copyvec_ve_gcc(t_float *dst,const t_float *src,int n);
! void addvec_ve_gcc(t_float *dst,const t_float *src,int n);
  
  t_int *zero_perf_ve_gcc(t_int *w);

Index: m_simd_ve_gcc.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_simd_ve_gcc.c,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** m_simd_ve_gcc.c	6 Oct 2004 18:20:04 -0000	1.1.2.4
--- m_simd_ve_gcc.c	6 Oct 2004 18:52:29 -0000	1.1.2.5
***************
*** 52,56 ****
  void setvec_ve_gcc(t_float *dst,t_float v,int n)
  {
! 	const vector float arg = LoadValue(v);
  	for(n >>= 4; n--; dst += 16) {
  		vec_st(arg, 0,dst);
--- 52,56 ----
  void setvec_ve_gcc(t_float *dst,t_float v,int n)
  {
! 	const vector float arg = LoadValue(&v);
  	for(n >>= 4; n--; dst += 16) {
  		vec_st(arg, 0,dst);





More information about the Pd-cvs mailing list