[xiph-commits] r15837 - branches/theora-thusnelda/lib/enc/x86

giles at svn.xiph.org giles at svn.xiph.org
Tue Mar 24 13:27:32 PDT 2009


Author: giles
Date: 2009-03-24 13:27:32 -0700 (Tue, 24 Mar 2009)
New Revision: 15837

Modified:
   branches/theora-thusnelda/lib/enc/x86/dsp_mmx.c
Log:
Use .p2align instead of .balign in the inline asm.

Apple's gas doesn't support the later.


Modified: branches/theora-thusnelda/lib/enc/x86/dsp_mmx.c
===================================================================
--- branches/theora-thusnelda/lib/enc/x86/dsp_mmx.c	2009-03-24 20:16:45 UTC (rev 15836)
+++ branches/theora-thusnelda/lib/enc/x86/dsp_mmx.c	2009-03-24 20:27:32 UTC (rev 15837)
@@ -32,7 +32,7 @@
                          ogg_int16_t *DctInputPtr, ogg_uint32_t PixelsPerLine)
 {
   __asm__ __volatile__ (
-    "  .balign 16                   \n\t"
+    "  .p2align 4                   \n\t"
 
     "  pxor        %%mm7, %%mm7     \n\t"
 
@@ -71,7 +71,7 @@
 {
 
   __asm__ __volatile__ (
-    "  .balign 16                   \n\t"
+    "  .p2align 4                   \n\t"
 
     "  pxor        %%mm7, %%mm7     \n\t"
     "  movq        %[V128], %%mm1   \n\t"



More information about the commits mailing list