[MPlayer-cvslog] r29352 - trunk/libmpcodecs/vf_fspp.c

gpoirier subversion at mplayerhq.hu
Sun Jun 7 16:42:44 CEST 2009


Author: gpoirier
Date: Sun Jun  7 16:42:43 2009
New Revision: 29352

Log:
replace "g" asm constraint by "erm" since "g" allows 64bit immediates while
the operator (cmp) using the "g"-constrained operand doesn't support 64bit
immediates.
Original thread:
date: Tue, Jun 2, 2009 at 11:31 AM
subject: [PATCH] Fix MPlayer to compile on Darwin/x86_86

Modified:
   trunk/libmpcodecs/vf_fspp.c

Modified: trunk/libmpcodecs/vf_fspp.c
==============================================================================
--- trunk/libmpcodecs/vf_fspp.c	Sat Jun  6 11:37:46 2009	(r29351)
+++ trunk/libmpcodecs/vf_fspp.c	Sun Jun  7 16:42:43 2009	(r29352)
@@ -240,7 +240,7 @@ static void store_slice_mmx(uint8_t *dst
 	"jl 2b                      \n\t"
 
 	:
-	: "m" (width), "m" (src_stride), "g" (od), "m" (dst_stride), "g" (end),
+	: "m" (width), "m" (src_stride), "erm" (od), "m" (dst_stride), "erm" (end),
 	  "m" (log2_scale), "m" (src), "m" (dst) //input
 	: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D
 	);
@@ -308,7 +308,7 @@ static void store_slice2_mmx(uint8_t *ds
 	"jl 2b                      \n\t"
 
 	:
-	: "m" (width), "m" (src_stride), "g" (od), "m" (dst_stride), "g" (end),
+	: "m" (width), "m" (src_stride), "erm" (od), "m" (dst_stride), "erm" (end),
 	  "m" (log2_scale), "m" (src), "m" (dst) //input
 	: "%"REG_a, "%"REG_c, "%"REG_d, "%"REG_D, "%"REG_S
 	);


More information about the MPlayer-cvslog mailing list