File XaoS-3.1-regparm.patch of Package xaos

--- src/engine/docalc.c
+++ src/engine/docalc.c
@@ -119,7 +119,7 @@
 SCALC (register number_t zre, register number_t zim, register number_t pre,
        register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        SCALC (register number_t zre, register number_t zim,
 	      register number_t pre, register number_t pim)
 #else
@@ -127,7 +127,7 @@
 CALC (register number_t zre, register number_t zim, register number_t pre,
       register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned
+CONSTF REGISTERS (3)     static unsigned
        CALC (register number_t zre, register number_t zim,
 	     register number_t pre, register number_t pim)
 #endif
@@ -256,7 +256,7 @@
 SCALC (register number_t zre, register number_t zim, register number_t pre,
        register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        SCALC (register number_t zre, register number_t zim,
 	      register number_t pre, register number_t pim)
 #else
@@ -264,7 +264,7 @@
 CALC (register number_t zre, register number_t zim, register number_t pre,
       register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        CALC (register number_t zre, register number_t zim,
 	     register number_t pre, register number_t pim)
 #endif
@@ -348,7 +348,7 @@
 SPERI (register number_t zre, register number_t zim, register number_t pre,
        register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        SPERI (register number_t zre, register number_t zim,
 	      register number_t pre, register number_t pim)
 #else
@@ -356,7 +356,7 @@
 PERI (register number_t zre, register number_t zim, register number_t pre,
       register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        PERI (register number_t zre, register number_t zim,
 	     register number_t pre, register number_t pim)
 #endif
@@ -471,7 +471,7 @@
 SPERI (register number_t zre, register number_t zim, register number_t pre,
        register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        SPERI (register number_t zre, register number_t zim,
 	      register number_t pre, register number_t pim)
 #else
@@ -479,7 +479,7 @@
 PERI (register number_t zre, register number_t zim, register number_t pre,
       register number_t pim)
      CONSTF REGISTERS (3);
-     static unsigned int FUNCTYPE
+CONSTF REGISTERS (3)     static unsigned int FUNCTYPE
        PERI (register number_t zre, register number_t zim,
 	     register number_t pre, register number_t pim)
 #endif
--- src/engine/formulas.c
+++ src/engine/formulas.c
@@ -251,7 +251,7 @@
 truecolor_output (number_t zre, number_t zim, number_t pre, number_t pim,
 		  int mode, int inset)
      CONSTF REGISTERS (3);
-     static unsigned int
+CONSTF REGISTERS (3)     static unsigned int
        truecolor_output (number_t zre, number_t zim, number_t pre,
 			 number_t pim, int mode, int inset)
 {
@@ -444,7 +444,7 @@
 static unsigned int
 color_output (number_t zre, number_t zim, unsigned int iter)
      CONSTF REGISTERS (3);
-     static unsigned int
+CONSTF REGISTERS (3)     static unsigned int
        color_output (number_t zre, number_t zim, unsigned int iter)
 {
   int i;
@@ -529,7 +529,7 @@
 incolor_output (number_t zre, number_t zim, number_t pre, number_t pim,
 		unsigned int iter)
      CONSTF REGISTERS (3);
-     static unsigned int
+CONSTF REGISTERS (3)     static unsigned int
        incolor_output (number_t zre, number_t zim, number_t pre, number_t pim,
 		       unsigned int iter)
 {
--- src/engine/plane.c
+++ src/engine/plane.c
@@ -53,7 +53,7 @@
 };
 
 
-void
+REGISTERS (3) void
 recalculate (int plane, number_t * x1, number_t * y1)
 {
   number_t x = *x1, y = *y1;
--- src/engine/zoom.c
+++ src/engine/zoom.c
@@ -1327,7 +1327,7 @@
 static void
 addprices (realloc_t * r, realloc_t * r2)
 REGISTERS (3);
-     static void addprices (realloc_t * r, realloc_t * r2)
+REGISTERS (3)     static void addprices (realloc_t * r, realloc_t * r2)
 {
   realloc_t *r3;
   while (r < r2)
--- src/engine/zoomd.c
+++ src/engine/zoomd.c
@@ -28,7 +28,7 @@
 static void
 calcline (realloc_t * RESTRICT ry)
 REGISTERS (3);
-     static void calcline (realloc_t * RESTRICT ry)
+REGISTERS (3)     static void calcline (realloc_t * RESTRICT ry)
 {
   number_t y;
   int range = cfractalc.range;
@@ -140,7 +140,7 @@
 static void
 calccolumn (realloc_t * RESTRICT rx)
 REGISTERS (3);
-     static void calccolumn (realloc_t * RESTRICT rx)
+REGISTERS (3)     static void calccolumn (realloc_t * RESTRICT rx)
 {
   number_t x;
   int range = cfractalc.range;
--- src/ui-hlp/save.c
+++ src/ui-hlp/save.c
@@ -294,7 +294,7 @@
 static void
 savepos (struct uih_context *uih)
 REGISTERS (3);
-     static void savepos (struct uih_context *uih)
+REGISTERS (3)     static void savepos (struct uih_context *uih)
 {
   int n = ndecimals (uih);
   start_save (uih, "view");
@@ -308,7 +308,7 @@
 static void
 savepos2 (struct uih_context *uih)
 REGISTERS (3);
-     static void savepos2 (struct uih_context *uih)
+REGISTERS (3)     static void savepos2 (struct uih_context *uih)
 {
   int n = ndecimals (uih);
   start_save (uih, "animateview");
@@ -322,7 +322,7 @@
 static void
 savepos3 (struct uih_context *uih)
 REGISTERS (3);
-     static void savepos3 (struct uih_context *uih)
+REGISTERS (3)     static void savepos3 (struct uih_context *uih)
 {
   int n = ndecimals (uih);
   start_save (uih, "morphview");
--- src/util/timers.c
+++ src/util/timers.c
@@ -331,7 +331,7 @@
 #endif
 }
 
-int
+REGISTERS (3) int
 tl_lookup_timer (tl_timer * t)
 {
   if (t->stopped)
@@ -409,7 +409,7 @@
 #endif
 }
 
-void
+REGISTERS (3) void
 tl_reset_timer (tl_timer * t)
 {
   if (t->stopped)