Index: crosstest/test_arith.h |
diff --git a/crosstest/test_arith.h b/crosstest/test_arith.h |
index a12ea242c304ef15a11ccfbd9ee1ab754a154cef..20591d560d3117a79f2a5f095126197a4cf0d39d 100644 |
--- a/crosstest/test_arith.h |
+++ b/crosstest/test_arith.h |
@@ -1,14 +1,21 @@ |
+//===- subzero/crosstest/test_arith.h - Test prototypes ---------*- C++ -*-===// |
+// |
+// The Subzero Code Generator |
+// |
+// This file is distributed under the University of Illinois Open Source |
+// License. See LICENSE.TXT for details. |
+// |
+//===----------------------------------------------------------------------===// |
+// |
+// This file declares the function prototypes used for crosstesting arithmetic |
+// operations. |
+// |
+//===----------------------------------------------------------------------===// |
+ |
#include <stdint.h> |
#include "test_arith.def" |
-// Vector types |
-typedef int32_t v4si32 __attribute__((vector_size(16))); |
-typedef uint32_t v4ui32 __attribute__((vector_size(16))); |
-typedef int16_t v8si16 __attribute__((vector_size(16))); |
-typedef uint16_t v8ui16 __attribute__((vector_size(16))); |
-typedef int8_t v16si8 __attribute__((vector_size(16))); |
-typedef uint8_t v16ui8 __attribute__((vector_size(16))); |
-typedef float v4f32 __attribute__((vector_size(16))); |
+#include "vectors.h" |
#define X(inst, op, isdiv) \ |
bool test##inst(bool a, bool b); \ |