Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-08-04 Thread Daniel Kang
As it turns out, the qpel functions use stuff from dsputil. I'll just rewrite dsputil while I'm at it, so this will be somewhat delayed. ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-08-01 Thread Ronald S. Bultje
Hi, On Wed, Aug 1, 2012 at 10:29 PM, Daniel Kang wrote: > On Wed, Aug 1, 2012 at 5:22 AM, Måns Rullgård wrote: >> >> Daniel Kang writes: >> >> > Can I have access to a setup that doesn't have inlined assembly? >> >> --extra-cflags=-D__asm__=error should make it fail nicely. > > > This gives me

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-08-01 Thread Daniel Kang
On Wed, Aug 1, 2012 at 5:22 AM, Måns Rullgård wrote: > Daniel Kang writes: > > > Can I have access to a setup that doesn't have inlined assembly? > > --extra-cflags=-D__asm__=error should make it fail nicely. This gives me bizarre errors like: /usr/include/x86_64-linux-gnu/asm/posix_types_64.

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-08-01 Thread Måns Rullgård
Daniel Kang writes: > Can I have access to a setup that doesn't have inlined assembly? --extra-cflags=-D__asm__=error should make it fail nicely. -- Måns Rullgård m...@mansr.com ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.o

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-07-31 Thread Daniel Kang
On Wed, Aug 1, 2012 at 1:03 AM, Loren Merritt wrote: > On Wed, 1 Aug 2012, Luca Barbato wrote: > > > +%macro OP_MOVH_MMX 3 > > +movh %3, %2 > > +pavgb %1, %3 > > +movh %2, %1 > > +%endmacro > > + > > +%macro MOVH_MMX 3 > > +movh %2, %1 > > +%endmacro > > + > > +%macro OP_MOV

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-07-31 Thread Daniel Kang
On Wed, Aug 1, 2012 at 12:28 AM, Ronald S. Bultje wrote: > Hi, > > On Tue, Jul 31, 2012 at 9:12 PM, Luca Barbato wrote: > > @@ -2879,10 +2879,9 @@ static void dsputil_init_sse2(DSPContext *c, > AVCodecContext *avctx, > >int mm_flags) > > { > > const int bit_d

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-07-31 Thread Loren Merritt
On Wed, 1 Aug 2012, Luca Barbato wrote: > +%macro OP_MOVH_MMX 3 > +movh %3, %2 > +pavgb %1, %3 > +movh %2, %1 > +%endmacro > + > +%macro MOVH_MMX 3 > +movh %2, %1 > +%endmacro > + > +%macro OP_MOV_MMX 3 > +mova %3, %2 > +pavgb %1, %3 > +mova %2, %1 pavgb %1

Re: [libav-devel] [PATCH 2/2] h264: convert 8-bit qpel inlined assembly to yasm

2012-07-31 Thread Ronald S. Bultje
Hi, On Tue, Jul 31, 2012 at 9:12 PM, Luca Barbato wrote: > @@ -2879,10 +2879,9 @@ static void dsputil_init_sse2(DSPContext *c, > AVCodecContext *avctx, >int mm_flags) > { > const int bit_depth = avctx->bits_per_raw_sample; > - > -#if HAVE_INLINE_ASM >