diff options
author | Matt Oliver <protogonoi@gmail.com> | 2014-03-30 12:34:49 +1100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-30 23:14:36 +0200 |
commit | 0f2588d7e5d2bc92c0a61e8d3e32e90722d98a8e (patch) | |
tree | ecf74708a00c4b5521cd816ed8fabda16ec4d592 /libavcodec/x86/mathops.h | |
parent | 6d9bdd9d8b6aa552d7cac5d6958b70796f94ca43 (diff) |
Use intel compliant CDQ instead of CLTD in inline asm.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/mathops.h')
-rw-r--r-- | libavcodec/x86/mathops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h index 9c48afeb20..1f049c0df9 100644 --- a/libavcodec/x86/mathops.h +++ b/libavcodec/x86/mathops.h @@ -100,7 +100,7 @@ __asm__ volatile(\ #endif /* HAVE_I686 */ #define MASK_ABS(mask, level) \ - __asm__ ("cltd \n\t" \ + __asm__ ("cdq \n\t" \ "xorl %1, %0 \n\t" \ "subl %1, %0 \n\t" \ : "+a"(level), "=&d"(mask)) |