[MPlayer-dev-eng] Need help with inline assembly
Arpi
arpi at thot.banki.hu
Wed Jan 30 13:46:06 CET 2002
Hi,
missing 'emms' call, to switch cpu back from mmx mode to fpu mode
a-v sync needs fpu, and many others too
> Hi,
>
> 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,
> //Anders
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
>
A'rpi / Astral & ESP-team
--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu
More information about the MPlayer-dev-eng
mailing list