patches/libvisual-01-solaris.diff
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17905 88a86c5c0a44
child 21584 ae2f541f2106
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14669
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     1
diff -ru libvisual-0.4.0.orig/libvisual/lv_types.h libvisual-0.4.0/libvisual/lv_types.h
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     2
--- libvisual-0.4.0.orig/libvisual/lv_types.h	Tue Feb 14 04:54:08 2006
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     3
+++ libvisual-0.4.0/libvisual/lv_types.h	Tue Nov 25 14:15:26 2008
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     4
@@ -30,6 +30,11 @@
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     5
 #include <stdint.h>
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     6
 #else
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     7
 #include <sys/types.h>
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     8
+
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
     9
+#if defined(__sun__) || defined(__sun)
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    10
+#include <inttypes.h>
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    11
+#endif
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    12
+
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    13
 #endif /* !VISUAL_OS_WIN32 */
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    14
 
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    15
 VISUAL_BEGIN_DECLS
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    16
@@ -38,7 +43,7 @@
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    17
 
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    18
 #define VISUAL_TABLESIZE(table)			(sizeof (table) / sizeof (table[0]))
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    19
 
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    20
-#if !defined(VISUAL_OS_WIN32)
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    21
+#if !defined(VISUAL_OS_WIN32) && !defined(__sun__) && !defined(__sun)
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    22
 #ifndef uint8_t
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    23
 #define uint8_t		u_int8_t
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    24
 #endif
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    25
@@ -50,7 +55,7 @@
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    26
 #ifndef uint32_t
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    27
 #define uint32_t	u_int32_t
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    28
 #endif
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    29
-#endif /* !VISUAL_OS_WIN32 */
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    30
+#endif /* !VISUAL_OS_WIN32 && !__sun__ && !__sun */
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    31
 
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    32
 VISUAL_END_DECLS
1ccadbfcc384 2008-11-27 Jim Li <[email protected]>
jim
parents:
diff changeset
    33
 
15777
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    34
diff -ru libvisual-0.4.0.orig/libvisual/lv_video_simd.c libvisual-0.4.0/libvisual/lv_video_simd.c
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    35
--- libvisual-0.4.0.orig/libvisual/lv_video_simd.c	Mon Feb  6 02:45:57 2006
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    36
+++ libvisual-0.4.0/libvisual/lv_video_simd.c	Tue Nov 25 14:15:31 2008
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    37
@@ -140,60 +140,60 @@
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    38
 				  * Adding colors together. (Thread #7)
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    39
 				  */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    40
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    41
-				"#1\n\t movd %[fracu], %%mm4"   /* mm4 = [ 0 | 0 | 0x10 | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    42
-				"#2\n\t movd %[fracv], %%mm6"   /* mm6 = [ 0 | 0 | 0x10 | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    43
+				"# 1\n\t movd %[fracu], %%mm4"   /* mm4 = [ 0 | 0 | 0x10 | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    44
+				"# 2\n\t movd %[fracv], %%mm6"   /* mm6 = [ 0 | 0 | 0x10 | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    45
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    46
-				"#1\n\t punpcklwd %%mm4, %%mm4" /* mm4 = [ 0x10 | 0x10 | fracU | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    47
-				"#2\n\t movq      %%mm6, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    48
+				"# 1\n\t punpcklwd %%mm4, %%mm4" /* mm4 = [ 0x10 | 0x10 | fracU | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    49
+				"# 2\n\t movq      %%mm6, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    50
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    51
-				"#1\n\t pxor      %%mm5, %%mm5"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    52
-				"#2\n\t punpckldq %%mm6, %%mm6" /* mm6 = [ 0x10 | fracv | 0x10 | fracV ] */ 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    53
-				"#3\n\t movq %[pixel_u], %%mm0" /* mm0 = [ col[0] | col[2] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    54
+				"# 1\n\t pxor      %%mm5, %%mm5"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    55
+				"# 2\n\t punpckldq %%mm6, %%mm6" /* mm6 = [ 0x10 | fracv | 0x10 | fracV ] */ 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    56
+				"# 3\n\t movq %[pixel_u], %%mm0" /* mm0 = [ col[0] | col[2] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    57
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    58
-				"#1\n\t punpckldq %%mm4, %%mm5" /* mm5 = [ fracU | fracU | 0 | 0 ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    59
-				"#2\n\t punpcklwd %%mm7, %%mm3" /* mm3 = [ 0    | 0x10  | 0    | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    60
-				"#3\n\t movq      %%mm0, %%mm2"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    61
+				"# 1\n\t punpckldq %%mm4, %%mm5" /* mm5 = [ fracU | fracU | 0 | 0 ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    62
+				"# 2\n\t punpcklwd %%mm7, %%mm3" /* mm3 = [ 0    | 0x10  | 0    | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    63
+				"# 3\n\t movq      %%mm0, %%mm2"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    64
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    65
-				"#1\n\t psubusw   %%mm5, %%mm4" /* mm4 = [ 0x10-fracU | 0x10-fracU | fracU | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    66
-				"#2\n\t punpckldq %%mm3, %%mm3" /* mm3 = [ 0    | fracV | 0    | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    67
-				"#4\n\t movq %[pixel_l], %%mm1" /* mm1 = [ col[1] | col[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    68
+				"# 1\n\t psubusw   %%mm5, %%mm4" /* mm4 = [ 0x10-fracU | 0x10-fracU | fracU | fracU ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    69
+				"# 2\n\t punpckldq %%mm3, %%mm3" /* mm3 = [ 0    | fracV | 0    | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    70
+				"# 4\n\t movq %[pixel_l], %%mm1" /* mm1 = [ col[1] | col[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    71
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    72
-				"#2\n\t pslld     $16,   %%mm3" /* mm3 = [ fracV | 0 | fracV | 0 ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    73
-				"#3\n\t punpcklbw %%mm7, %%mm0" /* mm0 = [ col[0] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    74
+				"# 2\n\t pslld     $16,   %%mm3" /* mm3 = [ fracV | 0 | fracV | 0 ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    75
+				"# 3\n\t punpcklbw %%mm7, %%mm0" /* mm0 = [ col[0] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    76
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    77
-				"#2\n\t psubusw   %%mm3, %%mm6" /* mm6 = [ 0x10-fracV | fracV | 0x10-fracV | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    78
-				"#4\n\t movq      %%mm1, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    79
+				"# 2\n\t psubusw   %%mm3, %%mm6" /* mm6 = [ 0x10-fracV | fracV | 0x10-fracV | fracV ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    80
+				"# 4\n\t movq      %%mm1, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    81
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    82
-				"#C\n\t pmullw    %%mm6, %%mm4" /* mm4 = [ coef[0]|coef[1]|coef[2]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    83
-				"#5\n\t movq      %%mm4, %%mm5"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    84
+				"# C\n\t pmullw    %%mm6, %%mm4" /* mm4 = [ coef[0]|coef[1]|coef[2]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    85
+				"# 5\n\t movq      %%mm4, %%mm5"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    86
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    87
-				"#4\n\t punpcklbw %%mm7, %%mm1" /* mm1 = [ col[1] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    88
-				"#6\n\t punpckhwd %%mm4, %%mm4" /* mm4 = [ coef[1]|coef[1]|coef[0]|coef[0] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    89
+				"# 4\n\t punpcklbw %%mm7, %%mm1" /* mm1 = [ col[1] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    90
+				"# 6\n\t punpckhwd %%mm4, %%mm4" /* mm4 = [ coef[1]|coef[1]|coef[0]|coef[0] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    91
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    92
-				"#3\n\t punpckhbw %%mm7, %%mm2" /* mm2 = [ col[2] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    93
-				"#5\n\t punpcklwd %%mm5, %%mm5" /* mm5 = [ coef[2]|coef[2]|coef[3]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    94
+				"# 3\n\t punpckhbw %%mm7, %%mm2" /* mm2 = [ col[2] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    95
+				"# 5\n\t punpcklwd %%mm5, %%mm5" /* mm5 = [ coef[2]|coef[2]|coef[3]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    96
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    97
-				"#4\n\t punpckhbw %%mm7, %%mm3" /* mm3 = [ col[3] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    98
-				"#5\n\t movq      %%mm5, %%mm6"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
    99
+				"# 4\n\t punpckhbw %%mm7, %%mm3" /* mm3 = [ col[3] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   100
+				"# 5\n\t movq      %%mm5, %%mm6"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   101
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   102
-				"#6\n\t movq      %%mm4, %%mm7"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   103
-				"#5\n\t punpcklwd %%mm6, %%mm6" /* mm6 = [ coef[3]|coef[3]|coef[3]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   104
+				"# 6\n\t movq      %%mm4, %%mm7"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   105
+				"# 5\n\t punpcklwd %%mm6, %%mm6" /* mm6 = [ coef[3]|coef[3]|coef[3]|coef[3] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   106
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   107
-				"#6\n\t punpcklwd %%mm7, %%mm7" /* mm6 = [ coef[1]|coef[1]|coef[1]|coef[1] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   108
-				"#5\n\t pmullw    %%mm6, %%mm3" /* mm3 = [ coef[3] * col[3] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   109
+				"# 6\n\t punpcklwd %%mm7, %%mm7" /* mm6 = [ coef[1]|coef[1]|coef[1]|coef[1] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   110
+				"# 5\n\t pmullw    %%mm6, %%mm3" /* mm3 = [ coef[3] * col[3] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   111
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   112
-				"#5\n\t punpckhwd %%mm5, %%mm5" /* mm5 = [ coef[2]|coef[2]|coef[2]|coef[2] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   113
-				"#6\n\t pmullw    %%mm7, %%mm1" /* mm1 = [ coef[1] * col[1] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   114
+				"# 5\n\t punpckhwd %%mm5, %%mm5" /* mm5 = [ coef[2]|coef[2]|coef[2]|coef[2] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   115
+				"# 6\n\t pmullw    %%mm7, %%mm1" /* mm1 = [ coef[1] * col[1] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   116
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   117
-				"#5\n\t pmullw    %%mm5, %%mm2" /* mm2 = [ coef[2] * col[2] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   118
-				"#6\n\t punpckhwd %%mm4, %%mm4" /* mm4 = [ coef[0]|coef[0]|coef[0]|coef[0] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   119
+				"# 5\n\t pmullw    %%mm5, %%mm2" /* mm2 = [ coef[2] * col[2] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   120
+				"# 6\n\t punpckhwd %%mm4, %%mm4" /* mm4 = [ coef[0]|coef[0]|coef[0]|coef[0] ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   121
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   122
-				"#6\n\t pmullw    %%mm4, %%mm0" /* mm0 = [ coef[0] * col[0] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   123
-				"#7\n\t paddw     %%mm2, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   124
-				"#7\n\t paddw     %%mm1, %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   125
+				"# 6\n\t pmullw    %%mm4, %%mm0" /* mm0 = [ coef[0] * col[0] unpacked ] */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   126
+				"# 7\n\t paddw     %%mm2, %%mm3"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   127
+				"# 7\n\t paddw     %%mm1, %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   128
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   129
-				"#7\n\t paddw     %%mm3, %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   130
-				"#7\n\t psrlw     $8,    %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   131
+				"# 7\n\t paddw     %%mm3, %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   132
+				"# 7\n\t psrlw     $8,    %%mm0"
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   133
 
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   134
 				/* Unpacking the resulting pixel */
d91db6305cec Roll back to the previous version(r18217) to fix the compiler build issue
davelam
parents: 15700
diff changeset
   135
 				"\n\t packuswb  %%mm7, %%mm0"
17905
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   136
diff -ruN libvisual-0.4.0.orig/configure.ac libvisual-0.4.0/configure.ac
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   137
--- libvisual-0.4.0.orig/configure.ac  2010-04-22 14:25:31.689386300 +0100
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   138
+++ libvisual-0.4.0/configure.ac       2010-04-22 14:27:22.487439900 +0100
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   139
@@ -24,6 +24,8 @@
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   140
 
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   141
 AC_CANONICAL_HOST
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   142
 
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   143
+AC_PROG_CC
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   144
+
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   145
 lv_mips=no
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   146
 lv_alpha=no
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   147
 lv_sparc=no
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   148
@@ -104,7 +106,6 @@
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   149
 
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   150
 # Checks for programs.
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   151
 AC_PROG_CXX
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   152
-AC_PROG_CC
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   153
 AC_PROG_CPP
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   154
 AC_PROG_INSTALL
88a86c5c0a44 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 15777
diff changeset
   155
 AC_PROG_LN_S