summaryrefslogtreecommitdiffstats
path: root/libvo/osd_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/osd_template.c')
-rw-r--r--libvo/osd_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/osd_template.c b/libvo/osd_template.c
index 5c8c009ec7..e2ada2ccaf 100644
--- a/libvo/osd_template.c
+++ b/libvo/osd_template.c
@@ -189,7 +189,7 @@ static inline void RENAME(vo_draw_alpha_rgb24)(int w,int h, unsigned char* src,
for(y=0;y<h;y++){
register unsigned char *dst = dstbase;
register int x;
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
#ifdef HAVE_MMX
asm volatile(
PREFETCHW" %0\n\t"
@@ -253,7 +253,7 @@ static inline void RENAME(vo_draw_alpha_rgb24)(int w,int h, unsigned char* src,
"addl %2, %%eax\n\t"
"movb %%ah, 2(%0)\n\t"
:
- :"r" (dst),
+ :"D" (dst),
"r" ((unsigned)srca[x]),
"r" (((unsigned)src[x])<<8)
:"%eax", "%ecx"
@@ -293,7 +293,7 @@ static inline void RENAME(vo_draw_alpha_rgb32)(int w,int h, unsigned char* src,
#endif
for(y=0;y<h;y++){
register int x;
-#ifdef ARCH_X86
+#if defined(ARCH_X86) || defined(ARCH_X86_64)
#ifdef HAVE_MMX
#ifdef HAVE_3DNOW
asm volatile(