@@ -32,12 +32,6 @@ static FunctionDescription THVector_(fill_DISPATCHTABLE)[] = {
32
32
#endif
33
33
#endif
34
34
35
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
36
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
37
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
38
- FUNCTION_IMPL (THVector_ (fill_SSE), SIMDExtension_SSE),
39
- #endif
40
- #endif
41
35
FUNCTION_IMPL (THVector_ (fill_DEFAULT), SIMDExtension_DEFAULT)
42
36
};
43
37
void THVector_ (fill)(scalar_t *x, const scalar_t c, const ptrdiff_t n) {
@@ -64,13 +58,6 @@ static FunctionDescription THVector_(cadd_DISPATCHTABLE)[] = {
64
58
#endif
65
59
#endif
66
60
67
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
68
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
69
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
70
- FUNCTION_IMPL (THVector_ (cadd_SSE), SIMDExtension_SSE),
71
- #endif
72
- #endif
73
-
74
61
FUNCTION_IMPL (THVector_ (cadd_DEFAULT), SIMDExtension_DEFAULT)
75
62
};
76
63
void THVector_ (cadd)(scalar_t *z, const scalar_t *x, const scalar_t *y, const scalar_t c, const ptrdiff_t n) {
@@ -97,13 +84,6 @@ static FunctionDescription THVector_(adds_DISPATCHTABLE)[] = {
97
84
#endif
98
85
#endif
99
86
100
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
101
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
102
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
103
- FUNCTION_IMPL (THVector_ (adds_SSE), SIMDExtension_SSE),
104
- #endif
105
- #endif
106
-
107
87
FUNCTION_IMPL (THVector_ (adds_DEFAULT), SIMDExtension_DEFAULT)
108
88
};
109
89
// Dispatch stubs that just call the pointers
@@ -125,13 +105,6 @@ static FunctionDescription THVector_(cmul_DISPATCHTABLE)[] = {
125
105
#endif
126
106
#endif
127
107
128
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
129
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
130
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
131
- FUNCTION_IMPL (THVector_ (cmul_SSE), SIMDExtension_SSE),
132
- #endif
133
- #endif
134
-
135
108
FUNCTION_IMPL (THVector_ (cmul_DEFAULT), SIMDExtension_DEFAULT)
136
109
};
137
110
void THVector_ (cmul)(scalar_t *z, const scalar_t *x, const scalar_t *y, const ptrdiff_t n) {
@@ -158,13 +131,6 @@ static FunctionDescription THVector_(muls_DISPATCHTABLE)[] = {
158
131
#endif
159
132
#endif
160
133
161
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
162
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
163
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
164
- FUNCTION_IMPL (THVector_ (muls_SSE), SIMDExtension_SSE),
165
- #endif
166
- #endif
167
-
168
134
FUNCTION_IMPL (THVector_ (muls_DEFAULT), SIMDExtension_DEFAULT)
169
135
};
170
136
void THVector_ (muls)(scalar_t *y, const scalar_t *x, const scalar_t c, const ptrdiff_t n) {
@@ -185,13 +151,6 @@ static FunctionDescription THVector_(cdiv_DISPATCHTABLE)[] = {
185
151
#endif
186
152
#endif
187
153
188
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
189
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
190
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
191
- FUNCTION_IMPL (THVector_ (cdiv_SSE), SIMDExtension_SSE),
192
- #endif
193
- #endif
194
-
195
154
FUNCTION_IMPL (THVector_ (cdiv_DEFAULT), SIMDExtension_DEFAULT)
196
155
};
197
156
void THVector_ (cdiv)(scalar_t *z, const scalar_t *x, const scalar_t *y, const ptrdiff_t n) {
@@ -212,13 +171,6 @@ static FunctionDescription THVector_(divs_DISPATCHTABLE)[] = {
212
171
#endif
213
172
#endif
214
173
215
- #if defined(USE_SSE2) || defined(USE_SSE3) || defined(USE_SSSE3) \
216
- || defined (USE_SSE4_1) || defined (USE_SSE4_2)
217
- #if defined(TH_REAL_IS_DOUBLE) || defined(TH_REAL_IS_FLOAT)
218
- FUNCTION_IMPL (THVector_ (divs_SSE), SIMDExtension_SSE),
219
- #endif
220
- #endif
221
-
222
174
FUNCTION_IMPL (THVector_ (divs_DEFAULT), SIMDExtension_DEFAULT)
223
175
};
224
176
void THVector_ (divs)(scalar_t *y, const scalar_t *x, const scalar_t c, const ptrdiff_t n) {
0 commit comments