[FFmpeg-devel] [PATCH] h264: assembly version of get_cabac for x86_64 with PIC (v5)

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Apr 21 20:47:45 CEST 2012


On Sat, Apr 21, 2012 at 05:51:22PM +0200, Roland Scheidegger wrote:
> +    int *rip;
> +    

Why int * and not void *?
Also, tailing whitespace.

> -        "movzbl "MANGLE(last_coeff_flag_offset_8x8)"(%k6), %k6\n\t"
> +#ifdef BROKEN_RELOCATIONS
> +        "movzbl "LABEL_MANGLE(last_coeff_flag_offset_8x8)"-1b(%14, %q6), %k6\n\t"
> +#else
> +        "movzbl "LABEL_MANGLE(last_coeff_flag_offset_8x8"(%k6), %k6\n\t"
> +#endif

Why did you change the else case? Besides the missing ) I don't think
it's correct to use LABEL_MANGLE for that one.


More information about the ffmpeg-devel mailing list