[FFmpeg-cvslog] r18054 - trunk/libavcodec/x86/snowdsp_mmx.c

cehoyos subversion
Fri Mar 20 00:29:12 CET 2009


Author: cehoyos
Date: Fri Mar 20 00:29:11 2009
New Revision: 18054

Log:
Remove useless casting in asm "m" operand.

Patch by Matthieu Castet, castet D matthieu A free D fr

Modified:
   trunk/libavcodec/x86/snowdsp_mmx.c

Modified: trunk/libavcodec/x86/snowdsp_mmx.c
==============================================================================
--- trunk/libavcodec/x86/snowdsp_mmx.c	Thu Mar 19 23:29:32 2009	(r18053)
+++ trunk/libavcodec/x86/snowdsp_mmx.c	Fri Mar 20 00:29:11 2009	(r18054)
@@ -667,7 +667,7 @@ void ff_snow_vertical_compose97i_mmx(IDW
              "jnz 1b                         \n\t"\
              :"+m"(dst8),"+m"(dst_array),"=&r"(tmp)\
              :\
-             "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"((x86_reg)b_h),"m"((x86_reg)src_stride):\
+             "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"(b_h),"m"(src_stride):\
              "%"REG_c"","%"REG_S"","%"REG_D"","%"REG_d"");
 
 #define snow_inner_add_yblock_sse2_end_8\
@@ -815,7 +815,7 @@ snow_inner_add_yblock_sse2_end_16
              "jnz 1b                         \n\t"\
              :"+m"(dst8),"+m"(dst_array),"=&r"(tmp)\
              :\
-             "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"((x86_reg)b_h),"m"((x86_reg)src_stride):\
+             "rm"((x86_reg)(src_x<<1)),"m"(obmc),"a"(block),"m"(b_h),"m"(src_stride):\
              "%"REG_c"","%"REG_S"","%"REG_D"","%"REG_d"");
 
 static void inner_add_yblock_bw_8_obmc_16_mmx(const uint8_t *obmc, const x86_reg obmc_stride, uint8_t * * block, int b_w, x86_reg b_h,




More information about the ffmpeg-cvslog mailing list