[MPlayer-dev-eng] Need help with inline assembly
arpi at thot.banki.hu
Wed Jan 30 13:46:06 CET 2002
missing 'emms' call, to switch cpu back from mmx mode to fpu mode
a-v sync needs fpu, and many others too
> Trying to solve a strange problem: I am working on assembly
> optimisations for the audio resampling plugin. I have the algorithm
> implemented and working (I have tested it in another program), but as
> soon as I enable it in mplayer the synchronisation between sound and
> video disappears. The smallest piece of code that can reproduce the
> error is:
> int x;
> __asm __volatile("movq %0, %%mm0 \n\t" : :"m"((x)));
> If this piece of code is included anywhere (in mplayer.c for example)
> the synchronisation between sound and video disappears (sometimes it
> just crashes).
> I am guessing compiler switch or directive.
> My processor is a P3 with gcc 2.95.4.
> Would be happy for any type of assistance, thank you in advance,
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
A'rpi / Astral & ESP-team
mailto:arpi at thot.banki.hu
More information about the MPlayer-dev-eng