Home
last modified time | relevance | path

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

/external/gemmlowp/fixedpoint/
Dfixedpoint_msa.h138 inline v4i32 SelectUsingMask(v4i32 if_mask, v4i32 then_val, v4i32 else_val) {
139 if_mask = reinterpret_cast<v4i32>(__builtin_msa_bsel_v(reinterpret_cast<v16u8>(if_mask),
142 return if_mask;
146 inline v8i16 SelectUsingMask(v8i16 if_mask, v8i16 then_val, v8i16 else_val) {
147 if_mask = reinterpret_cast<v8i16>(__builtin_msa_bsel_v(reinterpret_cast<v16u8>(if_mask),
150 return if_mask;
Dfixedpoint_avx.h153 inline __m256i SelectUsingMask(__m256i if_mask, __m256i then_val,
157 _mm256_castsi256_ps(if_mask)));
161 inline int16x16_m256i SelectUsingMask(int16x16_m256i if_mask,
166 _mm256_or_si256(_mm256_and_si256(if_mask.v, then_val.v),
167 _mm256_andnot_si256(if_mask.v, else_val.v)));
Dfixedpoint_sse.h159 inline __m128i SelectUsingMask(__m128i if_mask, __m128i then_val,
162 return _mm_or_si128(_mm_and_si128(if_mask, then_val),
163 _mm_andnot_si128(if_mask, else_val));
167 inline int16x8_m128i SelectUsingMask(int16x8_m128i if_mask,
171 return to_int16x8_m128i(SelectUsingMask(if_mask.v, then_val.v, else_val.v));
Dfixedpoint_wasmsimd.h158 inline v128_t SelectUsingMask(v128_t if_mask, v128_t then_val,
160 return wasm_v128_bitselect(then_val, else_val, if_mask);
164 inline int16x8_v128_t SelectUsingMask(int16x8_v128_t if_mask,
168 wasm_v128_bitselect(then_val.v, else_val.v, if_mask.v));
Dfixedpoint_neon.h138 inline int32x4_t SelectUsingMask(int32x4_t if_mask, int32x4_t then_val,
140 return vbslq_s32(vreinterpretq_u32_s32(if_mask), then_val, else_val);
144 inline int16x8_t SelectUsingMask(int16x8_t if_mask, int16x8_t then_val,
146 return vbslq_s16(vreinterpretq_u16_s16(if_mask), then_val, else_val);
Dfixedpoint.h149 tIntegerType SelectUsingMask(tIntegerType if_mask, tIntegerType then_val,
151 return BitXor(BitAnd(if_mask, then_val), BitAnd(BitNot(if_mask), else_val));
633 tRawType if_mask, FixedPoint<tRawType, tIntegerBits> then_val,
636 SelectUsingMask(if_mask, then_val.raw(), else_val.raw()));
/external/kernel-headers/original/uapi/linux/
Dmroute6.h56 typedef __u32 if_mask; typedef
57 #define NIFBITS (sizeof(if_mask) * 8) /* bits per mask */
60 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];