diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-28 17:01:35 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-28 17:01:35 +0000 |
commit | 7e14b8082d16816151bdecce8ad1c2bbbd003d55 (patch) | |
tree | ab78adc613cfb30afe169cb33ec28a477cf6f6f4 /libavutil | |
parent | 48026fbef68edeaf4b8053ed551f80122a1d3af4 (diff) | |
download | ffmpeg-7e14b8082d16816151bdecce8ad1c2bbbd003d55.tar.gz |
Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
SunStudio 12 only supports the former.
Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index c4c151d8f7..749a85c450 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -205,7 +205,7 @@ static inline unsigned int ff_sqrt(unsigned int a) #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)\ |