changeset 7461:855ca896de24

pshufw is a mmx2 instruction, so don't use dct64_MMX_3dnowex on k6-3 which has no mmxext (but has 3dnowex) - bug found by Diego, help by Michael
author arpi
date Sat, 21 Sep 2002 20:23:49 +0000
parents fdf31bb0450f
children a9b01022396a
files mp3lib/sr1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/sr1.c	Sat Sep 21 17:23:46 2002 +0000
+++ b/mp3lib/sr1.c	Sat Sep 21 20:23:49 2002 +0000
@@ -444,7 +444,7 @@
     {
 	synth_func=synth_1to1_MMX;
 	dct36_func=dct36_3dnowex;
-	dct64_MMX_func=dct64_MMX_3dnowex;
+	dct64_MMX_func= (accel & MM_ACCEL_X86_MMXEXT) ? dct64_MMX_3dnowex : dct64_MMX_3dnow;
 	mp_msg(MSGT_DECAUDIO,MSGL_V,"mp3lib: using 3DNow!Ex optimized decore!\n");
     }
     else