From a475a491a347fe4eaef9043cc32bef7f200a1e4c Mon Sep 17 00:00:00 2001 From: niels Date: Wed, 22 Jul 2015 20:51:29 +0200 Subject: [PATCH] fix 3dnow in libvje --- veejay-current/veejay-server/libvje/effects/common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/veejay-current/veejay-server/libvje/effects/common.h b/veejay-current/veejay-server/libvje/effects/common.h index 15cf4264..60b16e03 100644 --- a/veejay-current/veejay-server/libvje/effects/common.h +++ b/veejay-current/veejay-server/libvje/effects/common.h @@ -49,8 +49,10 @@ extern void set_pixel_range(uint8_t Yhi,uint8_t Uhi, uint8_t Ylo, uint8_t Ulo); extern void veejay_msg(int type, const char format[], ...); -#ifdef HAVE_ASM_MMX -#define do_emms __asm__ __volatile__ ( "emms":::"memory" ) +#ifdef HAVE_ASM_3DNOW +#define do_emms __asm__ __volatile__( "femms" :::"memory" ) +#else +#define do_emms __asm__ __volatile__ ( "emms":::"memory" ) #endif #ifndef ARCH_X86