[Ffmpeg-devel] Re: Broken trunk on AMD64 with PIC enabled

Loren Merritt lorenm
Wed Apr 4 03:59:52 CEST 2007

On Wed, 4 Apr 2007, Diego 'Flameeyes' Petten? wrote:
> On Tue, 3 Apr 2007, Michael Niedermayer wrote:
>> maybe you should check what syntax gcc uses when rip relative
>> addressing is inpossible
> And I've been trying to find out, sincerely, I have no idea of ASM at
> all.. that's why I posted, I hoped someone else had a clue.

gcc uses extra instructions

   mov foo(rcx, rdx, 2), eax

   lea foo(rip), rax
   lea (rax, rdx, 2), rax
   mov (rax, rcx, 1), eax

--Loren Merritt

More information about the ffmpeg-devel mailing list