[PD-cvs] externals/grill/flext/source flcontainers.h,1.8,1.9

Thomas Grill xovo at users.sourceforge.net
Wed Jun 28 00:46:02 CEST 2006


Update of /cvsroot/pure-data/externals/grill/flext/source
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28571/source

Modified Files:
	flcontainers.h 
Log Message:
more robust structure pack setting for Max/MSP @ Windows
fix for 64 bit code
fixed bug for Max/MSP when there's no signal inlet
changes for Mac/Intel


Index: flcontainers.h
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/flext/source/flcontainers.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** flcontainers.h	6 Jul 2005 19:48:31 -0000	1.8
--- flcontainers.h	27 Jun 2006 22:46:00 -0000	1.9
***************
*** 3,7 ****
  flext - C++ layer for Max/MSP and pd (pure data) externals
  
! Copyright (c) 2001-2005 Thomas Grill (gr at grrrr.org)
  For information on usage and redistribution, and for a DISCLAIMER OF ALL
  WARRANTIES, see the file, "license.txt," in this distribution.  
--- 3,7 ----
  flext - C++ layer for Max/MSP and pd (pure data) externals
  
! Copyright (c) 2001-2006 Thomas Grill (gr at grrrr.org)
  For information on usage and redistribution, and for a DISCLAIMER OF ALL
  WARRANTIES, see the file, "license.txt," in this distribution.  
***************
*** 150,163 ****
  		    "movl  	(%%esi), %%eax		\n\t"	
  		    "testl	%%eax, %%eax		\n\t"
! 		    "jz		20f					\n"
! 		    "10:                        \t"
  		    "movl 	(%%eax), %%ebx		\n\t"
  		    "movl	%%edx, %%ecx		\n\t"
  		    "incl	%%ecx				\n\t"
  		    SMPLOCK "cmpxchg8b (%%esi)	\n\t"
! 		    "jz		20f					\n\t"
  		    "testl	%%eax, %%eax		\n\t"
! 		    "jnz	10b					\n"
! 		    "20:                        \t"
  		    "popl	%%ecx				\n\t"
  		    "popl	%%ebx				\n\t"
--- 150,163 ----
  		    "movl  	(%%esi), %%eax		\n\t"	
  		    "testl	%%eax, %%eax		\n\t"
! 		    "jz		2f					\n"
! 		    "1:                        \t"
  		    "movl 	(%%eax), %%ebx		\n\t"
  		    "movl	%%edx, %%ecx		\n\t"
  		    "incl	%%ecx				\n\t"
  		    SMPLOCK "cmpxchg8b (%%esi)	\n\t"
! 		    "jz		2f					\n\t"
  		    "testl	%%eax, %%eax		\n\t"
! 		    "jnz	1b					\n"
! 		    "2:                        \t"
  		    "popl	%%ecx				\n\t"
  		    "popl	%%ebx				\n\t"
***************
*** 222,235 ****
  		    "mov  	(%%rsi), %%rax		\n\t"	
  		    "test	%%rax, %%rax		\n\t"
! 		    "jz		20f					\n"
! 		    "10:                        \t"
  		    "mov 	(%%rax), %%rbx		\n\t"
  		    "mov	%%rdx, %%rcx		\n\t"
  		    "inc	%%rcx				\n\t"
  		    SMPLOCK "cmpxchg16b (%%rsi)	\n\t"
! 		    "jz		20f					\n\t"
  		    "test	%%rax, %%rax		\n\t"
! 		    "jnz	10b					\n"
! 		    "20:                        \t"
  		    "pop	%%rcx				\n\t"
  		    "pop	%%rbx				\n\t"
--- 222,235 ----
  		    "mov  	(%%rsi), %%rax		\n\t"	
  		    "test	%%rax, %%rax		\n\t"
! 		    "jz		2f					\n"
! 		    "1:                        \t"
  		    "mov 	(%%rax), %%rbx		\n\t"
  		    "mov	%%rdx, %%rcx		\n\t"
  		    "inc	%%rcx				\n\t"
  		    SMPLOCK "cmpxchg16b (%%rsi)	\n\t"
! 		    "jz		2f					\n\t"
  		    "test	%%rax, %%rax		\n\t"
! 		    "jnz	1b					\n"
! 		    "2:                        \t"
  		    "pop	%%rcx				\n\t"
  		    "pop	%%rbx				\n\t"





More information about the Pd-cvs mailing list