From: Laurent Aimar Date: Fri, 16 Jul 2004 18:26:19 +0000 (+0000) Subject: * cpu.asm: mmh trashing ebp,esi and edi isn't a good idea I fear ;) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55eb54c7e47a8f98f4382a953e03ee414972c36f;p=libx264 * cpu.asm: mmh trashing ebp,esi and edi isn't a good idea I fear ;) git-svn-id: svn://svn.videolan.org/x264/trunk@12 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/core/i386/cpu.asm b/core/i386/cpu.asm index 06ac1e05..729ece64 100644 --- a/core/i386/cpu.asm +++ b/core/i386/cpu.asm @@ -53,6 +53,9 @@ ALIGN 16 x264_cpu_cpuid_test: pushfd push ebx + push ebp + push esi + push edi pushfd pop eax @@ -64,6 +67,9 @@ x264_cpu_cpuid_test: pop eax xor eax, ebx + pop edi + pop esi + pop ebp pop ebx popfd ret