[xiph-commits] r11549 - branches/theora-playtime/lib/x86_32_vs

illiminable at svn.xiph.org illiminable at svn.xiph.org
Fri Jun 9 03:10:04 PDT 2006


Author: illiminable
Date: 2006-06-09 03:09:58 -0700 (Fri, 09 Jun 2006)
New Revision: 11549

Modified:
   branches/theora-playtime/lib/x86_32_vs/idct_sse2.c
   branches/theora-playtime/lib/x86_32_vs/perf_helper.h
Log:
* Preserve ebc in dequant


Modified: branches/theora-playtime/lib/x86_32_vs/idct_sse2.c
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/idct_sse2.c	2006-06-09 09:37:51 UTC (rev 11548)
+++ branches/theora-playtime/lib/x86_32_vs/idct_sse2.c	2006-06-09 10:09:58 UTC (rev 11549)
@@ -45,7 +45,7 @@
                    ogg_int16_t * quantized_list,
                    ogg_int32_t * DCT_block) 
 {
-#if 1
+#if 0
 
   int i;
     PERF_BLOCK_START();
@@ -68,6 +68,8 @@
         mov     edi, DCT_block          /* int32 */
         mov     edx, zigzag_ptr          /* int32 */
         mov     esi, quantized_list     /* int16 */
+
+        push    ebx
         mov     ebx, dequant_coeffs     /* int16 */
         mov     eax, temp_block_ptr
 
@@ -159,6 +161,7 @@
     sub         ebx, 1
     jnz         write_loop_start
 
+    pop     ebx
     };
     PERF_BLOCK_END("dequant_slow sse2", perf_dequant_slow_time, perf_dequant_slow_count,perf_dequant_slow_min, 5000);
 #endif

Modified: branches/theora-playtime/lib/x86_32_vs/perf_helper.h
===================================================================
--- branches/theora-playtime/lib/x86_32_vs/perf_helper.h	2006-06-09 09:37:51 UTC (rev 11548)
+++ branches/theora-playtime/lib/x86_32_vs/perf_helper.h	2006-06-09 10:09:58 UTC (rev 11549)
@@ -8,7 +8,7 @@
 
 
 extern unsigned __int64 GetCPUTime();
-//#define PERF_DATA_ON
+#define PERF_DATA_ON
 #ifdef PERF_DATA_ON
 
 



More information about the commits mailing list