diff libmpcodecs/pullup.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 0d255d03016f
children 25337a2147e7
line wrap: on
line diff
--- a/libmpcodecs/pullup.c	Thu Oct 16 18:28:38 2008 +0000
+++ b/libmpcodecs/pullup.c	Thu Oct 16 18:59:27 2008 +0000
@@ -14,7 +14,7 @@
 static int diff_y_mmx(unsigned char *a, unsigned char *b, int s)
 {
 	int ret;
-	asm volatile (
+	__asm__ volatile (
 		"movl $4, %%ecx \n\t"
 		"pxor %%mm4, %%mm4 \n\t"
 		"pxor %%mm7, %%mm7 \n\t"
@@ -61,7 +61,7 @@
 static int licomb_y_mmx(unsigned char *a, unsigned char *b, int s)
 {
 	int ret;
-	asm volatile (
+	__asm__ volatile (
 		"movl $4, %%ecx \n\t"
 		"pxor %%mm6, %%mm6 \n\t"
 		"pxor %%mm7, %%mm7 \n\t"
@@ -150,7 +150,7 @@
 static int var_y_mmx(unsigned char *a, unsigned char *b, int s)
 {
 	int ret;
-	asm volatile (
+	__asm__ volatile (
 		"movl $3, %%ecx \n\t"
 		"pxor %%mm4, %%mm4 \n\t"
 		"pxor %%mm7, %%mm7 \n\t"