diff internal.h @ 461:62530c1673a0 libavutil

Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but SunStudio 12 only supports the former.
author reimar
date Thu, 28 Feb 2008 17:01:35 +0000
parents dcb08e8f3b2e
children bdc8433d739e
line wrap: on
line diff
--- a/internal.h	Wed Feb 27 21:38:36 2008 +0000
+++ b/internal.h	Thu Feb 28 17:01:35 2008 +0000
@@ -205,7 +205,7 @@
 #if defined(ARCH_X86)
 #define MASK_ABS(mask, level)\
             asm volatile(\
-                "cdq                    \n\t"\
+                "cltd                   \n\t"\
                 "xorl %1, %0            \n\t"\
                 "subl %1, %0            \n\t"\
                 : "+a" (level), "=&d" (mask)\