Index: crosstest/test_bitmanip.h |
diff --git a/crosstest/test_bitmanip.h b/crosstest/test_bitmanip.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7c4efdb4968e6747284516ce1650005dd120fe7d |
--- /dev/null |
+++ b/crosstest/test_bitmanip.h |
@@ -0,0 +1,24 @@ |
+//===- subzero/crosstest/test_bitmanip.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 for cross testing bit |
+// manipulation intrinsics. |
+// |
+//===----------------------------------------------------------------------===// |
+ |
+#include "test_bitmanip.def" |
+ |
+#define X(inst, type) \ |
+ type test_##inst(type a); \ |
+ type test_alloca_##inst(type a); \ |
+ type test_const_##inst(type ignored); \ |
+ type my_##inst(type a); |
+ |
+FOR_ALL_BMI_OP_TYPES(X) |
+#undef X |