search for: vector_foo_06

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

Did you mean: vector_foo_04
2019 Jun 11
2
RFC: Interface user provided vector functions with the vectorizer.
...2); ``` 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 IR attribute is made of three symbols: 1. `_ZGVnN2l4v_foo_06` and `_ZGVnN...
2019 Jun 17
3
RFC: Interface user provided vector functions with the vectorizer.
...t; ``` > 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 IR attribute is made of t...
2019 Jun 24
2
RFC: Interface user provided vector functions with the vectorizer.
...d(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. >&g...
2019 Jun 21
2
RFC: Interface user provided vector functions with the vectorizer.
...bi-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. > > } > > ``` > &gt...
2019 Jun 24
4
RFC: Interface user provided vector functions with the vectorizer.
...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. > > } > > ``` > >...