32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
diff -up libtheora-1.0alpha8/lib/enc/x86_32/dct_decode_mmx.c~ libtheora-1.0alpha8/lib/enc/x86_32/dct_decode_mmx.c
|
|
--- libtheora-1.0alpha8/lib/enc/x86_32/dct_decode_mmx.c~ 2007-09-14 19:27:07.000000000 +0200
|
|
+++ libtheora-1.0alpha8/lib/enc/x86_32/dct_decode_mmx.c 2007-09-14 19:27:07.000000000 +0200
|
|
@@ -21,6 +21,9 @@
|
|
|
|
#if defined(USE_ASM)
|
|
|
|
+/* Disabled as this asm results in text relocations, which is BAD */
|
|
+#if 0
|
|
+
|
|
static const __attribute__((aligned(8),used)) ogg_int64_t V3= 0x0003000300030003LL;
|
|
static const __attribute__((aligned(8),used)) ogg_int64_t V804= 0x0804080408040804LL;
|
|
|
|
@@ -173,12 +176,17 @@ static void FilterVert__mmx(unsigned cha
|
|
);
|
|
}
|
|
|
|
+#endif
|
|
+
|
|
/* install our implementation in the function table */
|
|
void dsp_mmx_dct_decode_init(DspFunctions *funcs)
|
|
{
|
|
+/* Disabled as this asm results in text relocations, which is BAD */
|
|
+#if 0
|
|
TH_DEBUG("enabling accelerated x86_32 mmx dct decode functions.\n");
|
|
funcs->FilterVert = FilterVert__mmx;
|
|
funcs->FilterHoriz = FilterHoriz__mmx;
|
|
+#endif
|
|
}
|
|
|
|
#endif /* USE_ASM */
|