contrib: goom: don't build the xmmx code that is not used
authorSteve Lhomme <robux4@ycbcr.xyz>
Fri, 18 May 2018 13:05:58 +0000 (15:05 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Fri, 18 May 2018 13:07:08 +0000 (15:07 +0200)
contrib/src/goom/goom2k4-noxmmx.patch

index d9f07a2..5525cc6 100644 (file)
  #ifdef VERBOSE
                printf ("MMX detected. Using fast methods !\n");
  #endif
+--- goom/src/xmmx.c.no-xmmx    2005-02-07 14:46:41.000000000 +0100
++++ goom/src/xmmx.c    2018-05-18 15:04:47.031571100 +0200
+@@ -26,6 +26,7 @@ int xmmx_supported (void) {
+       return (mm_support()&0x8)>>3;
+ }
++#if 0
+ void zoom_filter_xmmx (int prevX, int prevY,
+                        Pixel *expix1, Pixel *expix2,
+                        int *lbruS, int *lbruD, int buffratio,
+@@ -389,5 +390,5 @@ void draw_line_xmmx (Pixel *data, int x1
+ end_of_line:
+       __asm__ __volatile__ ("femms\n"); 
+ }
+-
++#endif /* 0 */
+ #endif