aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/i386/mathops.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/i386/mathops.h')
-rw-r--r--libavcodec/i386/mathops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/mathops.h b/libavcodec/i386/mathops.h
index 46c2d638f0..2ae24fcaac 100644
--- a/libavcodec/i386/mathops.h
+++ b/libavcodec/i386/mathops.h
@@ -24,7 +24,7 @@
#ifdef FRAC_BITS
# define MULL(ra, rb) \
- ({ int rt, dummy; asm (\
+ ({ int rt, dummy; __asm__ (\
"imull %3 \n\t"\
"shrdl %4, %%edx, %%eax \n\t"\
: "=a"(rt), "=d"(dummy)\
@@ -34,12 +34,12 @@
#define MULH(ra, rb) \
({ int rt, dummy;\
- asm ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)ra), "rm" ((int)rb));\
+ __asm__ ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)ra), "rm" ((int)rb));\
rt; })
#define MUL64(ra, rb) \
({ int64_t rt;\
- asm ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\
+ __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\
rt; })
#endif /* AVCODEC_I386_MATHOPS_H */