comparison libmpcodecs/vf_divtc.c @ 27754:08d18fe9da52

Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg. Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
author diego
date Thu, 16 Oct 2008 18:59:27 +0000
parents 88dfab272467
children 25337a2147e7
comparison
equal deleted inserted replaced
27753:6c915906bbc6 27754:08d18fe9da52
35 35
36 #ifdef HAVE_MMX 36 #ifdef HAVE_MMX
37 static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns) 37 static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns)
38 { 38 {
39 volatile short out[4]; 39 volatile short out[4];
40 asm ( 40 __asm__ (
41 "movl $8, %%ecx \n\t" 41 "movl $8, %%ecx \n\t"
42 "pxor %%mm4, %%mm4 \n\t" 42 "pxor %%mm4, %%mm4 \n\t"
43 "pxor %%mm7, %%mm7 \n\t" 43 "pxor %%mm7, %%mm7 \n\t"
44 44
45 ASMALIGN(4) 45 ASMALIGN(4)