Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: crosstest/test_bitmanip.h

Issue 390443005: Lower bitmanip intrinsics, assuming absence of BMI/SSE4.2 for now. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: review Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_bitmanip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_bitmanip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698