diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-16 17:12:19 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-16 17:12:19 +0000 |
commit | 7d74522cdde534cf28cfbef9bbac1492b623f6b5 (patch) | |
tree | 5a5348ed74b9051b0d8b5233946080c75e819179 /libvo | |
parent | 62aac61a0322ed7d04b0fa443c375efdcb46192d (diff) | |
download | mpv-7d74522cdde534cf28cfbef9bbac1492b623f6b5.tar.bz2 mpv-7d74522cdde534cf28cfbef9bbac1492b623f6b5.tar.xz |
workaround lack of -fomit-frame-pointer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5140 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/osd_template.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libvo/osd_template.c b/libvo/osd_template.c index 800bdcd5c2..f24e2daff1 100644 --- a/libvo/osd_template.c +++ b/libvo/osd_template.c @@ -218,30 +218,30 @@ static inline void RENAME(vo_draw_alpha_rgb24)(int w,int h, unsigned char* src, asm volatile( "movzbl (%0), %%ecx\n\t" "movzbl 1(%0), %%eax\n\t" - "movzbl 2(%0), %%edx\n\t" "imull %1, %%ecx\n\t" "imull %1, %%eax\n\t" - "imull %1, %%edx\n\t" - "addl %2, %%ecx\n\t" + "addl %2, %%ecx\n\t" "addl %2, %%eax\n\t" - "addl %2, %%edx\n\t" "movb %%ch, (%0)\n\t" "movb %%ah, 1(%0)\n\t" - "movb %%dh, 2(%0)\n\t" - + + "movzbl 2(%0), %%eax\n\t" + "imull %1, %%eax\n\t" + "addl %2, %%eax\n\t" + "movb %%ah, 2(%0)\n\t" : :"r" (dst), "r" ((unsigned)srca[x]), "r" (((unsigned)src[x])<<8) - :"%eax", "%ecx", "%edx" + :"%eax", "%ecx" ); } dst += 3; } -#endif /* HAVE_MMX */ +#endif /* !HAVE_MMX */ #else /*non x86 arch*/ for(x=0;x<w;x++){ if(srca[x]){ |