diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2018-08-14 18:08:27 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2018-08-14 18:08:27 +0200 |
commit | e9709955e168098b6d9b327081eda686bb6ee098 (patch) | |
tree | fedfa8bf64a6e84c360a9736f37aa4753517a9af /tests/headers/vector.hpp | |
parent | 7713b452460fb9713ef95a7819db0e843cf08a1a (diff) |
add more vector tests
Diffstat (limited to 'tests/headers/vector.hpp')
-rw-r--r-- | tests/headers/vector.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/vector.hpp b/tests/headers/vector.hpp index 4707f77f..173aa022 100644 --- a/tests/headers/vector.hpp +++ b/tests/headers/vector.hpp @@ -1,3 +1,9 @@ struct foo { __attribute__((__vector_size__(1 * sizeof(long long)))) long long mMember; }; + +typedef float __m128 __attribute__ ((__vector_size__ (16))); +typedef double __m128d __attribute__((__vector_size__(16))); +typedef long long __m128i __attribute__((__vector_size__(16))); + +__m128 foo(__m128i, __m128d); |