]>
Commit | Line | Data |
---|---|---|
830cb609 PS |
1 | |
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(-) | |
6 | ||
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 | |
9 | @@ -1541,7 +1541,7 @@ | |
10 | # if defined(UseInstalled) | |
11 | # define DefaultCCOptions /* -ansi */ | |
12 | # else | |
13 | -# define DefaultCCOptions -ansi -pedantic GccWarningOptions | |
14 | +# define DefaultCCOptions -std=gnu9x -pedantic GccWarningOptions | |
15 | # endif | |
16 | # endif | |
17 | # if defined(UseInstalled) | |
7cdbeb1a PS |
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 | |
b27f13f0 | 20 | @@ -27,6 +27,8 @@ |
21 | ||
22 | #ifdef USE_GCC34_MMX | |
7cdbeb1a PS |
23 | |
24 | +#include <mmintrin.h> | |
b27f13f0 | 25 | + |
26 | #ifdef RENDER | |
7cdbeb1a | 27 | |
b27f13f0 | 28 | #include "picturestr.h" |
7cdbeb1a PS |
29 | @@ -33,10 +34,10 @@ |
30 | #include "mipict.h" | |
31 | #include "fbpict.h" | |
32 | ||
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; | |
41 | ||
42 | typedef unsigned long long ullong; | |
43 | ||
44 | @@ -92,9 +93,9 @@ | |
45 | shift (Vector1x64 v, int s) | |
46 | { | |
47 | if (s > 0) | |
48 | - return __builtin_ia32_psllq (v, s); | |
49 | + return (Vector1x64)__builtin_ia32_psllq ((ullong)v, (ullong)s); | |
50 | else if (s < 0) | |
51 | - return __builtin_ia32_psrlq (v, -s); | |
52 | + return (Vector1x64)__builtin_ia32_psrlq ((ullong)v, (ullong)-s); | |
53 | else | |
54 | return v; | |
55 | } | |
69c1f952 MM |
56 | --- X11-6.8.2/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h.orig 2004-08-12 04:23:46.000000000 +0200 |
57 | +++ X11-6.8.2/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_chipset.h 2005-02-15 11:00:00.350593552 +0100 | |
58 | @@ -1,4 +1,4 @@ | |
59 | -static SymTabRec RADEONChipsets[] = { | |
60 | +SymTabRec RADEONChipsets[] = { | |
61 | { PCI_CHIP_RADEON_QD, "ATI Radeon QD (AGP)" }, | |
62 | { PCI_CHIP_RADEON_QE, "ATI Radeon QE (AGP)" }, | |
63 | { PCI_CHIP_RADEON_QF, "ATI Radeon QF (AGP)" }, |