Home
last modified time | relevance | path

Searched refs:ELEM_SIZE (Results 1 – 4 of 4) sorted by relevance

/xen/tools/tests/x86_emulator/
A Dsimd-sg.c2 # define ELEM_SIZE INT_SIZE macro
4 # define ELEM_SIZE FLOAT_SIZE macro
7 #define VEC_SIZE (IDX_SIZE <= ELEM_SIZE ? VEC_MAX \
25 #define IVEC_SIZE (ELEM_SIZE <= IDX_SIZE ? VEC_MAX \
40 # if ELEM_SIZE == 4
236 x = gather(full, array, idx, full, ELEM_SIZE); in sg_test()
252 x = gather(full, array, inv, full, ELEM_SIZE); in sg_test()
273 #if ELEM_SIZE > 1 in sg_test()
282 # if ELEM_SIZE == IDX_SIZE in sg_test()
317 scatter(out, idx, x, full, ELEM_SIZE); in sg_test()
[all …]
A Dsimd.h24 # define ELEM_SIZE INT_SIZE macro
36 # define ELEM_SIZE UINT_SIZE
49 # define ELEM_SIZE FLOAT_SIZE
57 # define VEC_SIZE ELEM_SIZE
61 #define ELEM_COUNT (VEC_SIZE / ELEM_SIZE)
74 #if ELEM_SIZE == 1
76 #elif ELEM_SIZE == 2
78 #elif ELEM_SIZE == 4
80 #elif ELEM_SIZE == 8
309 # if ELEM_SIZE == 8 && defined(__AVX512DQ__)
[all …]
A Dsimd.c47 # if ELEM_SIZE == 4
49 # elif ELEM_SIZE == 8
54 # elif defined(__SSE__) && ELEM_SIZE == 4
57 # if ELEM_SIZE == 8
66 # elif defined(__AVX__) && ELEM_SIZE == 4
68 # elif defined(__AVX__) && ELEM_SIZE == 8
1222 for ( i = 0, j = ELEM_SIZE << 3; i < ELEM_COUNT; ++i ) in simd_test()
1267 #elif ELEM_SIZE > 1 || VEC_SIZE <= 8 in simd_test()
1377 # if ELEM_SIZE > 1 in simd_test()
1408 z[i + 1] = res >> (ELEM_SIZE << 3); in simd_test()
[all …]
A Dsimd-sha.c31 : "=v" (r_) : "m" (x), "i" ((n) * ELEM_SIZE) ); \
72 (vec_t)(__builtin_ia32_ps ## d ## ldqi128((vdi_t)(x), (n) * ELEM_SIZE * 8))

Completed in 10 milliseconds