search for: foo_06

Displaying 5 results from an estimated 5 matches for "foo_06".

2019 Jun 11
2
RFC: Interface user provided vector functions with the vectorizer.
...*a + b; } __m256 MyAddVec(float* v_a, __m128i v_b1, __m128i v_b2); ``` The resulting IR attribute is: ``` attribute #0 = {vector-abi-variant="_ZGVbN8l4v_MyAdd(MyAddVec)"} ``` ## Example showing interaction with `declare simd` ``` #pragma omp declare simd linear(a) notinbranch float foo_06(float *a, int x) __attribute__(clang_declare_simd_variant(“vector_foo_06", simdlen(4), linear(a), notinbranch, arch("armv8.2-a+simd")) { return *a + x; } // Advanced SIMD version float32x4_t vector_foo_06(float *a, int32x4_t vx) { // Custom implementation. } ``` The resulting I...
2019 Jun 17
3
RFC: Interface user provided vector functions with the vectorizer.
...i v_b2); > ``` > > The resulting IR attribute is: > > ``` > attribute #0 = {vector-abi-variant="_ZGVbN8l4v_MyAdd(MyAddVec)"} > ``` > > ## Example showing interaction with `declare simd` > > ``` > #pragma omp declare simd linear(a) notinbranch > float foo_06(float *a, int x) __attribute__(clang_declare_simd_variant(“vector_foo_06", simdlen(4), linear(a), notinbranch, arch("armv8.2-a+simd")) { > return *a + x; > } > > // Advanced SIMD version > float32x4_t vector_foo_06(float *a, int32x4_t vx) { > // Custom implemen...
2019 Jun 24
2
RFC: Interface user provided vector functions with the vectorizer.
...>> > attribute #0 = {vector-abi-variant="_ZGVbN8l4v_MyAdd(MyAddVec)"} >> > ``` >> > >> > ## Example showing interaction with `declare simd` >> > >> > ``` >> > #pragma omp declare simd linear(a) notinbranch >> > float foo_06(float *a, int x) > __attribute__(clang_declare_simd_variant(“vector_foo_06", simdlen(4), > linear(a), notinbranch, arch("armv8.2-a+simd")) { >> > return *a + x; >> > } >> > >> > // Advanced SIMD version >> > float32x4_t vector_f...
2019 Jun 21
2
RFC: Interface user provided vector functions with the vectorizer.
...g IR attribute is: > > > > ``` > > attribute #0 = {vector-abi-variant="_ZGVbN8l4v_MyAdd(MyAddVec)"} > > ``` > > > > ## Example showing interaction with `declare simd` > > > > ``` > > #pragma omp declare simd linear(a) notinbranch float foo_06(float > > *a, int x) __attribute__(clang_declare_simd_variant(“vector_foo_06", simdlen(4), linear(a), notinbranch, arch("armv8.2-a+simd")) { > > return *a + x; > > } > > > > // Advanced SIMD version > > float32x4_t vector_foo_06(float *a, int...
2019 Jun 24
4
RFC: Interface user provided vector functions with the vectorizer.
...g IR attribute is: > > > > ``` > > attribute #0 = {vector-abi-variant="_ZGVbN8l4v_MyAdd(MyAddVec)"} > > ``` > > > > ## Example showing interaction with `declare simd` > > > > ``` > > #pragma omp declare simd linear(a) notinbranch float foo_06(float > > *a, int x) __attribute__(clang_declare_simd_variant(“vector_foo_06", simdlen(4), linear(a), notinbranch, arch("armv8.2-a+simd")) { > > return *a + x; > > } > > > > // Advanced SIMD version > > float32x4_t vector_foo_06(float *a, int3...