summaryrefslogtreecommitdiff
path: root/tests/headers/vector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/vector.hpp')
-rw-r--r--tests/headers/vector.hpp6
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);