[PD-cvs] pd/src m_simd_sse_gcc.c,1.1.4.13.2.2,1.1.4.13.2.3
Tim Blechmann
timblech at users.sourceforge.net
Fri Dec 23 12:32:52 CET 2005
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15332
Modified Files:
Tag: devel_0_39
m_simd_sse_gcc.c
Log Message:
fix for simd-runtime check on x86_64 machines ...
Index: m_simd_sse_gcc.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_simd_sse_gcc.c,v
retrieving revision 1.1.4.13.2.2
retrieving revision 1.1.4.13.2.3
diff -C2 -d -r1.1.4.13.2.2 -r1.1.4.13.2.3
*** m_simd_sse_gcc.c 11 Sep 2005 11:55:12 -0000 1.1.4.13.2.2
--- m_simd_sse_gcc.c 23 Dec 2005 11:32:49 -0000 1.1.4.13.2.3
***************
*** 951,958 ****
{
unsigned int eax, edx;
! __asm__("push %%ebx \n" /* ebx might be used as PIC register :-( */
! "cpuid \n"
! "pop %%ebx \n"
! : "=a"(eax),"=d"(edx) : "a" (1): "cx");
return (0x2000000 & edx);
}
--- 951,960 ----
{
unsigned int eax, edx;
! __asm__("mov %%bx, %%si \n"
! "cpuid \n"
! "xchg %%bx, %%si \n"
! : "=a"(eax),"=d"(edx)
! : "a" (1)
! : "cx", "si");
return (0x2000000 & edx);
}
More information about the Pd-cvs
mailing list