[PD-cvs] pd/src m_simd_sse_gcc.c,1.1.4.13.2.3,1.1.4.13.2.4
Tim Blechmann
timblech at users.sourceforge.net
Tue Jan 10 21:28:15 CET 2006
- Previous message: [PD-cvs] externals/frankenstein/patches/feb05 bay.orc, NONE, 1.1 bay.pd, NONE, 1.1 bay.sco, NONE, 1.1 bel0205a.graph, NONE, 1.1 belfast0205.graph, NONE, 1.1 davidcsoundtest2.pd, NONE, 1.1 test2.graph, NONE, 1.1
- Next message: [PD-cvs] externals/clr - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27310
Modified Files:
Tag: devel_0_39
m_simd_sse_gcc.c
Log Message:
push/pop seems more secure
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.3
retrieving revision 1.1.4.13.2.4
diff -C2 -d -r1.1.4.13.2.3 -r1.1.4.13.2.4
*** m_simd_sse_gcc.c 23 Dec 2005 11:32:49 -0000 1.1.4.13.2.3
--- m_simd_sse_gcc.c 10 Jan 2006 20:28:13 -0000 1.1.4.13.2.4
***************
*** 950,961 ****
int simd_runtime_check()
{
! 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);
}
--- 950,960 ----
int simd_runtime_check()
{
! unsigned int eax, edx, ret;
! __asm__("push %%ebx \n" /* ebx might be used as PIC register :-( */
! "cpuid \n"
! "pop %%ebx \n"
! : "=a"(eax),"=d"(edx) : "a" (1): "cx");
! ret = 0x2000000 & edx;
! return (ret);
}
- Previous message: [PD-cvs] externals/frankenstein/patches/feb05 bay.orc, NONE, 1.1 bay.pd, NONE, 1.1 bay.sco, NONE, 1.1 bel0205a.graph, NONE, 1.1 belfast0205.graph, NONE, 1.1 davidcsoundtest2.pd, NONE, 1.1 test2.graph, NONE, 1.1
- Next message: [PD-cvs] externals/clr - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list