[FFmpeg-devel] [PATCH] move h264 loopfilter strength code to yasm

Michael Karcher ffmpeg
Fri Sep 24 18:28:46 CEST 2010


Am Freitag, den 24.09.2010, 12:04 -0400 schrieb Ronald S. Bultje:
> So removing pand (which doesn't do anything in the one case, and can
> be replaced by a pxor in the other). With the attached patch #2, I get
> this:
> /var/folders/Rz/RzQTCSLsFPWQeOEO5EXsJE+++TI/-Tmp-//cc8uAjPS.s:315:bad
> register name `%%mm0'
> /var/folders/Rz/RzQTCSLsFPWQeOEO5EXsJE+++TI/-Tmp-//cc8uAjPS.s:520:bad
> register name `%%mm0'
> 
> What does that mean?

If you don't specify input and output regs, the % sequences are not
parsed, and the double % stays in. Use
  asm("pxor %%mm0, %%mm0 \n\t"::)
or
  asm("pxor %mm0, %mm0 \n\t")

Probably the first variant is preferred for consistency.

Regards,
  Michael Karcher





More information about the ffmpeg-devel mailing list