Skip to content

Commit 1913f33

Browse files
committed
Fixed performance tests
1 parent b90ce2f commit 1913f33

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/test/ptest/3d/colocation_x2.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,17 @@ PTEST_BEGIN("dsp.3d", colocation_x2, 5, 1000)
147147
call(#func, planes, points, func);
148148

149149
CALL(generic::colocation_x2_v1p2);
150-
CALL(sse::colocation_x2_v1p2);
151-
CALL(sse2::colocation_x2_v1p2);
152-
CALL(sse3::colocation_x2_v1p2);
153-
CALL(avx::colocation_x2_v1p2);
150+
IF_ARCH_X86(CALL(sse::colocation_x2_v1p2));
151+
IF_ARCH_X86(CALL(sse2::colocation_x2_v1p2));
152+
IF_ARCH_X86(CALL(sse3::colocation_x2_v1p2));
153+
IF_ARCH_X86(CALL(avx::colocation_x2_v1p2));
154154
PTEST_SEPARATOR;
155155

156156
CALL(generic::colocation_x2_v1pv);
157-
CALL(sse::colocation_x2_v1pv);
158-
CALL(sse2::colocation_x2_v1pv);
159-
CALL(sse3::colocation_x2_v1pv);
160-
CALL(avx::colocation_x2_v1pv);
157+
IF_ARCH_X86(CALL(sse::colocation_x2_v1pv));
158+
IF_ARCH_X86(CALL(sse2::colocation_x2_v1pv));
159+
IF_ARCH_X86(CALL(sse3::colocation_x2_v1pv));
160+
IF_ARCH_X86(CALL(avx::colocation_x2_v1pv));
161161
PTEST_SEPARATOR;
162162

163163
free_aligned(data);

src/test/ptest/3d/mat4_transpose.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ PTEST_BEGIN("dsp.3d", mat4_transpose, 5, 1000)
119119
call(#func, dst, src, func);
120120

121121
CALL1(generic::transpose_matrix3d1);
122-
CALL1(sse::transpose_matrix3d1);
123-
CALL1(sse2::transpose_matrix3d1);
124-
CALL1(avx::transpose_matrix3d1);
122+
IF_ARCH_X86(CALL1(sse::transpose_matrix3d1));
123+
IF_ARCH_X86(CALL1(sse2::transpose_matrix3d1));
124+
IF_ARCH_X86(CALL1(avx::transpose_matrix3d1));
125125
PTEST_SEPARATOR;
126126

127127
CALL2(generic::transpose_matrix3d2);
128-
CALL2(sse::transpose_matrix3d2);
129-
CALL2(sse2::transpose_matrix3d2);
130-
CALL2(avx::transpose_matrix3d2);
128+
IF_ARCH_X86(CALL2(sse::transpose_matrix3d2));
129+
IF_ARCH_X86(CALL2(sse2::transpose_matrix3d2));
130+
IF_ARCH_X86(CALL2(avx::transpose_matrix3d2));
131131
PTEST_SEPARATOR;
132132

133133
free_aligned(data);

0 commit comments

Comments
 (0)