Home
last modified time | relevance | path

Searched refs:to_bool (Results 1 – 7 of 7) sorted by relevance

/xen/tools/tests/x86_emulator/
A Dsimd-fma.c6 #if VEC_SIZE < 16 && !defined(to_bool)
7 # define to_bool(cmp) (!~(cmp)[0]) macro
10 # define to_bool(cmp) __builtin_ia32_vtestcps(cmp, (vec_t){} == 0) macro
12 # define to_bool(cmp) __builtin_ia32_vtestcpd(cmp, (vec_t){} == 0) macro
16 # define to_bool(cmp) __builtin_ia32_vtestcps256(cmp, (vec_t){} == 0) macro
18 # define to_bool(cmp) __builtin_ia32_vtestcpd256(cmp, (vec_t){} == 0) macro
23 # define eq(x, y) to_bool((x) == (y))
A Dsimd-gf.c32 # define to_bool(cmp) B(ptestc, , cmp, (vdi_t){} == 0) macro
35 # define to_bool(cmp) (__builtin_ia32_pmovmskb128(cmp) == 0xffff) macro
37 # define eq(x, y) to_bool((x) == (y))
A Dsimd-aes.c45 # define to_bool(cmp) B(ptestc, , cmp, (vdi_t){} == 0) macro
48 # define to_bool(cmp) (__builtin_ia32_pmovmskb128(cmp) == 0xffff) macro
51 # define eq(x, y) to_bool((x) == (y))
A Dsimd-clmul.c14 # define to_bool(cmp) B(ptestc, , cmp, (vdi_t){} == 0) macro
16 # define to_bool(cmp) (__builtin_ia32_pmovmskb128(cmp) == 0xffff) macro
18 # define eq(x, y) to_bool((x) == (y))
A Dsimd-sg.c118 # define to_bool(cmp) __builtin_ia32_ptestc128(cmp, (vec_t){} == 0) macro
120 # define to_bool(cmp) __builtin_ia32_ptestc256(cmp, (vec_t){} == 0) macro
193 # define eq(x, y) to_bool((x) == (y))
A Dsimd.c44 # define to_bool(cmp) (__builtin_ia32_pmovmskb(cmp) == 0xff) macro
48 # define to_bool(cmp) __builtin_ia32_vtestcps(cmp, (vec_t){} == 0) macro
50 # define to_bool(cmp) __builtin_ia32_vtestcpd(cmp, (vec_t){} == 0) macro
55 # define to_bool(cmp) (__builtin_ia32_movmskps(cmp) == 0xf) macro
58 # define to_bool(cmp) (__builtin_ia32_movmskpd(cmp) == 3) macro
60 # define to_bool(cmp) (__builtin_ia32_pmovmskb128(cmp) == 0xffff) macro
67 # define to_bool(cmp) (__builtin_ia32_movmskps256(cmp) == 0xff) macro
69 # define to_bool(cmp) (__builtin_ia32_movmskpd256(cmp) == 0xf) macro
73 #ifndef to_bool
84 # define to_bool(cmp) _to_bool((byte_vec_t)(cmp)) macro
[all …]
A Dsimd-sha.c35 # define to_bool(cmp) (__builtin_ia32_pmovmskb128(cmp) == 0xffff) macro
36 # define eq(x, y) to_bool((x) == (y))

Completed in 12 milliseconds