changeset 4141:ee1687319436

Bug
author nick
date Sun, 13 Jan 2002 17:23:32 +0000
parents 3b8c2f67ab4f
children 5e8231233418
files mp3lib/Makefile mp3lib/tabinit_MMX.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/Makefile	Sun Jan 13 16:59:18 2002 +0000
+++ b/mp3lib/Makefile	Sun Jan 13 17:23:32 2002 +0000
@@ -12,7 +12,7 @@
 SRCS += d_cpu.s decode_i586.s
 OBJS += d_cpu.o decode_i586.o
 ifeq ($(TARGET_MMX),yes)
-SRCS += decode_MMX.c dct64_MMX.s tabinit_MMX.s
+SRCS += decode_MMX.s dct64_MMX.s tabinit_MMX.c
 OBJS += decode_MMX.o dct64_MMX.o tabinit_MMX.o
 endif
 #ifeq ($(TARGET_SSE),yes)
--- a/mp3lib/tabinit_MMX.c	Sun Jan 13 16:59:18 2002 +0000
+++ b/mp3lib/tabinit_MMX.c	Sun Jan 13 17:23:32 2002 +0000
@@ -48,7 +48,8 @@
 
 void make_decode_tables_MMX(long scaleval)
 {
-  long intwinbase_step = 2;
+  long intwinbase_step;
+  intwinbase_step=2;
   scaleval =- scaleval;
     __asm __volatile(
 	"xorl %%ecx,%%ecx\n\t"
@@ -92,7 +93,7 @@
 ".L04:\n\t"
 	::"g"(intwinbase_MMX),"m"(decwin[0]),"m"(scaleval),"m"(intwinbase_step)
 	:"memory","%ebx","%esi","%edi");
-
+intwinbase_step=2;
   __asm __volatile(
 	"xorl %%ecx,%%ecx\n\t"
 	"xorl %%ebx,%%ebx\n\t"