[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Dec 15 19:32:18 CET 2008


On Mon, Dec 15, 2008 at 06:24:05PM +0100, Gregor Riepl wrote:
> > Huh? That sounds like the completely normal process for 64 bit  
> > systems,
> > but that normally only applies to PIC/PIE code (rip-relative  
> > addressing
> > is just an attempt to make PIC not be uselessly slow in the worst- 
> > case).
> 
> is that so? i was having the impression that other os kernels support  
> segment-absolute addressing too - or the assembler/linker is smart  
> enough to automatically translate.

Well, as I said normal for PIC/PIE code. I was not aware that OSX forces
that.

> this is very good news. if the code is already there, i second using  
> it, as this is precisely what's needed. only indexing doesn't work  
> like this, and that's the reason why a52 won't compile. sweeping  
> arrays using an index register is not possible like this. but it would  
> work with a lea instruction and another register, i guess.

When you're writing x86_64 specific code anyway you can just use "m"
constraints for that, I hope you don't intend on using more than 12 asm
arguments...



More information about the MPlayer-dev-eng mailing list