]> git.pld-linux.org Git - packages/XaoS.git/blob - XaoS-brokenasm.patch
- categories
[packages/XaoS.git] / XaoS-brokenasm.patch
1 --- XaoS-3.0/src/engine/i386.c.brokenasm        Mon May 29 12:47:41 2000
2 +++ XaoS-3.0/src/engine/i386.c  Mon May 29 12:48:40 2000
3 @@ -88,7 +88,7 @@
4                          "rep; stosb\n\t"
5                          :"=D" (to)
6                          :"D" (to), "a" (0), "c" (temp0)
7 -                        :"cx");
8 +                      );
9      }
10    asm __volatile__ (
11                      "shrl $3, %0\n\t"
12 @@ -123,7 +123,7 @@
13                          "112:"
14                          :"=D" (to)
15                          :"D" (to), "a" (0), "c" (bytes), "d" (bytes)
16 -                        :"cx", "memory");
17 +                        :"memory");
18      }
19    return _to;
20  }
21 @@ -148,7 +148,7 @@
22                              "rep; movsb\n\t"
23                              :"=D" (to), "=S" (from)
24                              :"D" (to), "S" (from), "c" (temp0)
25 -                            :"cx");
26 +                          );
27         }
28        asm __volatile__ (
29                          "shrl $8, %0\n\t"
30 @@ -207,7 +207,7 @@
31                          "112:"
32                          :"=D" (to), "=S" (from)
33                          :"D" (to), "S" (from), "c" (bytes), "d" (bytes)
34 -                        :"cx", "memory");
35 +                        :"memory");
36      }
37    return _to;
38  }
39 --- XaoS-3.1pre5/src/engine/fractal.c.orig      2001-05-27 21:07:35.000000000 +0200
40 +++ XaoS-3.1pre5/src/engine/fractal.c   2004-01-17 21:31:45.930744920 +0100
41 @@ -413,7 +413,7 @@
42    free (c);
43  }
44  
45 -#ifdef NOASSEMBLY
46 +#if 1
47  #define rdtsc() 0
48  #define cli() 0
49  #define sti() 0
This page took 0.076747 seconds and 3 git commands to generate.