Searched refs:psimd_u16 (Results 1 – 10 of 10) sorted by relevance
/external/psimd/include/ |
D | psimd.h | 96 typedef uint16_t psimd_u16 __attribute__((vector_size(16), aligned(2))); typedef 117 psimd_u16 lo; 118 psimd_u16 hi; 183 PSIMD_INTRINSIC void psimd_swap_u16(psimd_u16 a[1], psimd_u16 b[1]) { in psimd_swap_u16() 184 const psimd_u16 new_a = *b; in psimd_swap_u16() 185 const psimd_u16 new_b = *a; in psimd_swap_u16() 224 PSIMD_INTRINSIC psimd_u16 psimd_zero_u16(void) { in psimd_zero_u16() 225 return (psimd_u16) { 0, 0, 0, 0, 0, 0, 0, 0 }; in psimd_zero_u16() 253 PSIMD_INTRINSIC psimd_u16 psimd_splat_u16(uint16_t c) { in psimd_splat_u16() 254 return (psimd_u16) { c, c, c, c, c, c, c, c }; in psimd_splat_u16() [all …]
|
/external/FP16/bench/ |
D | alt-element.cc | 22 PSIMD_INTRINSIC psimd_u16 next_xorshift16_psimd(psimd_u16 x) { in next_xorshift16_psimd() 55 psimd_u16 fp16 = (psimd_u16) { 0x7C00, 0x7C01, 0x7C02, 0x7C03 }; in fp16_alt_to_fp32_psimd() 66 psimd_u16 fp16 = in fp16_alt_to_fp32x2_psimd() 67 (psimd_u16) { 0x7C00, 0x7C01, 0x7C02, 0x7C03, 0x7C04, 0x7C05, 0x7C06, 0x7C07 }; in fp16_alt_to_fp32x2_psimd()
|
D | ieee-element.cc | 34 PSIMD_INTRINSIC psimd_u16 next_xorshift16_psimd(psimd_u16 x) { in next_xorshift16_psimd() 69 psimd_u16 fp16 = (psimd_u16) { 0x7C00, 0x7C01, 0x7C02, 0x7C03 }; in fp16_ieee_to_fp32_psimd() 80 psimd_u16 fp16 = in fp16_ieee_to_fp32x2_psimd() 81 (psimd_u16) { 0x7C00, 0x7C01, 0x7C02, 0x7C03, 0x7C04, 0x7C05, 0x7C06, 0x7C07 }; in fp16_ieee_to_fp32x2_psimd()
|
D | from-alt-array.cc | 90 const psimd_u16 last_vector = { input[n - 4], input[n - 3], input[n - 2], input[n - 1] }; in fp16_alt_to_fp32_psimd()
|
D | from-ieee-array.cc | 102 const psimd_u16 last_vector = { input[n - 4], input[n - 3], input[n - 2], input[n - 1] }; in fp16_ieee_to_fp32_psimd()
|
/external/FP16/include/fp16/ |
D | psimd.h | 14 PSIMD_INTRINSIC psimd_f32 fp16_ieee_to_fp32_psimd(psimd_u16 half) { in fp16_ieee_to_fp32_psimd() 28 const psimd_u16 magic_mask = psimd_splat_u16(UINT16_C(0x3E80)); in fp16_ieee_to_fp32_psimd() 37 PSIMD_INTRINSIC psimd_f32x2 fp16_ieee_to_fp32x2_psimd(psimd_u16 half) { in fp16_ieee_to_fp32x2_psimd() 56 const psimd_u16 magic_mask = psimd_splat_u16(UINT16_C(0x3E80)); in fp16_ieee_to_fp32x2_psimd() 57 const psimd_u16 shl1_half = half + half; in fp16_ieee_to_fp32x2_psimd() 72 PSIMD_INTRINSIC psimd_f32 fp16_alt_to_fp32_psimd(psimd_u16 half) { in fp16_alt_to_fp32_psimd() 97 PSIMD_INTRINSIC psimd_f32x2 fp16_alt_to_fp32x2_psimd(psimd_u16 half) { in fp16_alt_to_fp32x2_psimd()
|
/external/FP16/test/ |
D | alt-to-fp32-psimd.cc | 13 const psimd_u16 fp16 = { in TEST() 49 const psimd_u16 fp16 = { in TEST() 83 const psimd_u16 fp16 = { in TEST() 116 const psimd_u16 fp16 = { in TEST()
|
D | ieee-to-fp32-psimd.cc | 16 const psimd_u16 fp16 = { in TEST() 46 const psimd_u16 fp16 = { in TEST() 112 const psimd_u16 fp16 = { in TEST() 180 const psimd_u16 fp16 = { in TEST() 216 const psimd_u16 fp16 = { in TEST() 250 const psimd_u16 fp16 = { in TEST() 283 const psimd_u16 fp16 = { in TEST()
|
D | alt-to-fp32x2-psimd.cc | 13 const psimd_u16 fp16 = { in TEST() 74 const psimd_u16 fp16 = { in TEST() 133 const psimd_u16 fp16 = { in TEST() 191 const psimd_u16 fp16 = { in TEST()
|
D | ieee-to-fp32x2-psimd.cc | 16 const psimd_u16 fp16 = { in TEST() 69 const psimd_u16 fp16 = { in TEST() 188 const psimd_u16 fp16 = { in TEST() 309 const psimd_u16 fp16 = { in TEST() 370 const psimd_u16 fp16 = { in TEST() 429 const psimd_u16 fp16 = { in TEST() 487 const psimd_u16 fp16 = { in TEST()
|