From 6e52c8b7bb99ea95c8193645c7ecfb5816fbcc8c Mon Sep 17 00:00:00 2001 From: James Stembridge Date: Sat, 28 May 2005 12:20:37 +0000 Subject: **BUGFIX** femms is a 3DNow instruction causing an Illegal instruction when run on non-AMD processors, replace with emms CVS patchset: 7583 CVS date: 2005/05/28 12:20:37 --- src/post/goom/xmmx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/post/goom/xmmx.c b/src/post/goom/xmmx.c index d9fead3fb..b0afc31a6 100644 --- a/src/post/goom/xmmx.c +++ b/src/post/goom/xmmx.c @@ -242,7 +242,7 @@ void zoom_filter_xmmx (int prevX, int prevY, ++loop; } /*#ifdef HAVE_ATHLON*/ - __asm__ __volatile__ ("femms\n"); + __asm__ __volatile__ ("emms\n"); /*#else emms(); #endif*/ @@ -393,7 +393,7 @@ void draw_line_xmmx (Pixel *data, int x1, int y1, int x2, int y2, int col, int s } } end_of_line: - __asm__ __volatile__ ("femms\n"); + __asm__ __volatile__ ("emms\n"); } #endif -- cgit v1.2.3