[FFmpeg-devel] [PATCH] move h264 loopfilter strength code to yasm
Fri Sep 24 22:49:07 CEST 2010
On Fri, Sep 24, 2010 at 04:34:36PM -0400, Ronald S. Bultje wrote:
> On Fri, Sep 24, 2010 at 3:30 PM, Alexander Strange
> <astrange at ithinksw.com> wrote:
> > "g" permits registers, so it could generate something like this:
> > ? por %rax(%rcx), %mm1
> Is that even legal?
> > You have to use "m" or MANGLE() in this situation.
> So what would that work like?
> "por "MANGLE(d_idx)"(%0), %%mm1 \n" // nnz[b] || nnz[bn]
> `(%rip)' after expression
> absolute addressing is not supported for x86-64
> do signed 4 byte relocation
Have you tried looking at the generated assembler (e.g. compiling
with -S instead of -c)?
I guess the argument is of type int, so it will try to use
eax instead of rax.
More information about the ffmpeg-devel