2 config/cf/xorg.cf | 2 +-
3 programs/Xserver/fb/fbmmx.c | 13 +++++++------
4 programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h | 2 +-
5 3 files changed, 9 insertions(+), 8 deletions(-)
7 --- X11-6.8.2/xc/config/cf/xorg.cf.orig 2005-03-21 19:11:42.000000000 +0100
8 +++ X11-6.8.2/xc/config/cf/xorg.cf 2005-03-21 23:03:46.000000000 +0100
10 # if defined(UseInstalled)
11 # define DefaultCCOptions /* -ansi */
13 -# define DefaultCCOptions -ansi -pedantic GccWarningOptions
14 +# define DefaultCCOptions -std=gnu9x -pedantic GccWarningOptions
17 # if defined(UseInstalled)
18 --- X11-6.8.2/xc/programs/Xserver/fb/fbmmx.c.orig 2004-07-22 21:24:50.000000000 +0200
19 +++ X11-6.8.2/xc/programs/Xserver/fb/fbmmx.c 2005-02-15 10:32:50.573357352 +0100
24 +#include <mmintrin.h>
28 #include "picturestr.h"
33 -typedef int Vector1x64 __attribute__ ((mode(DI)));
34 -typedef int Vector2x32 __attribute__ ((mode(V2SI)));
35 -typedef int Vector4x16 __attribute__ ((mode(V4HI)));
36 -typedef int Vector8x8 __attribute__ ((mode(V8QI)));
37 +typedef __m64 Vector1x64;
38 +typedef __v2si Vector2x32;
39 +typedef __v4hi Vector4x16;
40 +typedef __v8qi Vector8x8;
42 typedef unsigned long long ullong;
45 shift (Vector1x64 v, int s)
48 - return __builtin_ia32_psllq (v, s);
49 + return (Vector1x64)__builtin_ia32_psllq ((ullong)v, (ullong)s);
51 - return __builtin_ia32_psrlq (v, -s);
52 + return (Vector1x64)__builtin_ia32_psrlq ((ullong)v, (ullong)-s);