Home
last modified time | relevance | path

Searched refs:perm0 (Results 1 – 6 of 6) sorted by relevance

/external/webp/src/dsp/
Dlossless_sse41.c64 const __m128i a0 = _mm_shuffle_epi8(in0, perm0); \
84 const __m128i perm0 = _mm_setr_epi8(2, 1, 0, 6, 5, 4, 10, 9, in ConvertBGRAToRGB_SSE41() local
86 const __m128i perm1 = _mm_shuffle_epi32(perm0, 0x39); in ConvertBGRAToRGB_SSE41()
87 const __m128i perm2 = _mm_shuffle_epi32(perm0, 0x4e); in ConvertBGRAToRGB_SSE41()
88 const __m128i perm3 = _mm_shuffle_epi32(perm0, 0x93); in ConvertBGRAToRGB_SSE41()
102 const __m128i perm0 = _mm_setr_epi8(0, 1, 2, 4, 5, 6, 8, 9, 10, in ConvertBGRAToBGR_SSE41() local
104 const __m128i perm1 = _mm_shuffle_epi32(perm0, 0x39); in ConvertBGRAToBGR_SSE41()
105 const __m128i perm2 = _mm_shuffle_epi32(perm0, 0x4e); in ConvertBGRAToBGR_SSE41()
106 const __m128i perm3 = _mm_shuffle_epi32(perm0, 0x93); in ConvertBGRAToBGR_SSE41()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_layout_helper.cc77 bool AreCancellablePermutations(DenseIntElementsAttr perm0, in AreCancellablePermutations() argument
79 if (perm0.getNumElements() == 0 || perm1.getNumElements() == 0) return false; in AreCancellablePermutations()
80 if (perm0.getNumElements() != perm1.getNumElements()) return false; in AreCancellablePermutations()
83 for (const auto &value : perm0.getValues<APInt>()) in AreCancellablePermutations()
Dtf_ops_layout_helper.h47 bool AreCancellablePermutations(DenseIntElementsAttr perm0,
Dtf_ops_n_z.cc2706 DenseIntElementsAttr perm0; in FoldCancellableTranspose() local
2708 if (!matchPattern(op.perm(), m_Constant(&perm0)) || in FoldCancellableTranspose()
2713 if (!AreCancellablePermutations(perm0, perm1)) return {}; in FoldCancellableTranspose()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/python_tests/
Dtf_transpose_test.py229 perm0 = np.array([1, 0]).astype(np.int32)
234 [res0] = jitrt.execute(compiled, [tensor, perm0])
236 np.testing.assert_allclose(res0, np.transpose(tensor, perm0), atol=0.0)
254 perm0 = np.array([1, 0]).astype(np.int64)
257 [res] = jitrt.execute(compiled, [tensor, perm0, perm1])
259 res, np.transpose(np.transpose(tensor, perm0), perm1), atol=0.0)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dpa_avx.cpp754 const simdscalari perm0 = _simd_set_epi32(5, 2, 7, 4, 1, 6, 3, 0); in PaTriList2()
809 v0[i] = _simd_permute_ps(temp0, perm0); in PaTriList2()
837 …const simd16scalari perm0 = _simd16_set_epi32(13, 10, 7, 4, 1, 14, 11, 8, 5, 2, 15, 12, 9, 6, 3,… in PaTriList2_simd16() local
841 simd16scalar perm0 = _simd16_setzero_ps(); in PaTriList2_simd16()
874 v0[i] = _simd16_permute_ps(temp0, perm0); in PaTriList2_simd16()
882 perm0 = _simd16_permute2f128_ps(temp0, temp0, 0xB1); // (1, 0, 3, 2) => 01 00 11 10 => 0xB1 in PaTriList2_simd16()
883 temp0 = _simd16_blend_ps(temp0, perm0, 0x4444); // 0010 0010 0010 0010 in PaTriList2_simd16()
884 perm0 = _simd16_permute2f128_ps(temp0, temp0, 0x4E); // (2, 3, 0, 1) => 10 11 00 01 => 0x4E in PaTriList2_simd16()
885 v0[i] = _simd16_blend_ps(temp0, perm0, 0x3838); // 0001 1100 0001 1100 in PaTriList2_simd16()
1168 …simd16scalar perm0 = _simd16_permute2f128_ps(tempa, tempa, 0x39); // (0 3 2 1) = 00 11 10 01 // a4… in PaTriStrip1_simd16() local
[all …]