Re: [FFmpeg-devel] [PATCH 2/4] huffyuvencdsp: Convert ff_diff_bytes_mmx to yasm

2015-10-19 Thread Henrik Gramner
On Mon, Oct 19, 2015 at 10:00 PM, Timothy Gu wrote: > +mov r6b, byte [src1q + iq] > +sub r6b, byte [src2q + iq] > +mov byte [dstq + iq], r6b Only r0b-r3b can be used for byte-sized instructions on x86-32. ___ ffmpeg

Re: [FFmpeg-devel] [PATCH 2/4] huffyuvencdsp: Convert ff_diff_bytes_mmx to yasm

2015-10-19 Thread Michael Niedermayer
On Mon, Oct 19, 2015 at 01:00:44PM -0700, Timothy Gu wrote: > --- > libavcodec/x86/Makefile| 1 + > libavcodec/x86/huffyuvencdsp.asm | 58 > ++ > libavcodec/x86/huffyuvencdsp_mmx.c | 37 > 3 files changed, 65 insertions(+

Re: [FFmpeg-devel] [PATCH 2/4] huffyuvencdsp: Convert ff_diff_bytes_mmx to yasm

2015-10-19 Thread James Almer
On 10/19/2015 5:00 PM, Timothy Gu wrote: > --- > libavcodec/x86/Makefile| 1 + > libavcodec/x86/huffyuvencdsp.asm | 58 > ++ > libavcodec/x86/huffyuvencdsp_mmx.c | 37 > 3 files changed, 65 insertions(+), 31 deletions(-)

[FFmpeg-devel] [PATCH 2/4] huffyuvencdsp: Convert ff_diff_bytes_mmx to yasm

2015-10-19 Thread Timothy Gu
--- libavcodec/x86/Makefile| 1 + libavcodec/x86/huffyuvencdsp.asm | 58 ++ libavcodec/x86/huffyuvencdsp_mmx.c | 37 3 files changed, 65 insertions(+), 31 deletions(-) create mode 100644 libavcodec/x86/huffyuvencdsp.asm