Revision be449fca libavcodec/ppc/mathops.h

View differences:

libavcodec/ppc/mathops.h
26 26
#if defined(ARCH_POWERPC_405)
27 27
/* signed 16x16 -> 32 multiply add accumulate */
28 28
#define MAC16(rt, ra, rb) \
29
    asm ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));
29
    __asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));
30 30

  
31 31
/* signed 16x16 -> 32 multiply */
32 32
#define MUL16(ra, rb) \
33 33
    ({ int __rt; \
34
    asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \
34
    __asm__ ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \
35 35
    __rt; })
36 36
#endif
37 37

  

Also available in: Unified diff