-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gcc vector extension support (#249)
* add simd_op template for gcc vector extension * add 128,256,512 vector extension for simd eval tag * add metafunction for reserve member fn detection * add builtin math macro collection * add ci for gcc vector extension on arm * add ci for gcc vector extension on wasm * add tests for gcc vector extension * add ci for gcc vector extension on x86 * fix wams simd vector ci * fix wams simd vector ci name * fix wasm simd vector run tests
- Loading branch information
Showing
30 changed files
with
8,305 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_128_HPP | ||
#define NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_128_HPP | ||
|
||
#include "nmtools/array/eval/simd/vector_extension.hpp" | ||
|
||
namespace nmtools::array::simd | ||
{ | ||
using vector_128_t = vector_t<128>; | ||
|
||
constexpr inline auto vector_128 = array::simd_base_t<vector_128_t>{}; | ||
} | ||
|
||
#endif // NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_128_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_256_HPP | ||
#define NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_256_HPP | ||
|
||
#include "nmtools/array/eval/simd/vector_extension.hpp" | ||
|
||
namespace nmtools::array::simd | ||
{ | ||
using vector_256_t = vector_t<256>; | ||
|
||
constexpr inline auto vector_256 = array::simd_base_t<vector_256_t>{}; | ||
} | ||
|
||
#endif // NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_256_HPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_512_HPP | ||
#define NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_512_HPP | ||
|
||
#include "nmtools/array/eval/simd/vector_extension.hpp" | ||
|
||
namespace nmtools::array::simd | ||
{ | ||
using vector_512_t = vector_t<512>; | ||
|
||
constexpr inline auto vector_512 = array::simd_base_t<vector_512_t>{}; | ||
} | ||
|
||
#endif // NMTOOLS_ARRAY_EVAL_SIMD_VECTOR_512_HPP |
Oops, something went wrong.