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

Unified Diff: crosstest/test_bitmanip.def

Issue 401533002: Lower byte swap intrinsic. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: rebased 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/test_bitmanip.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_bitmanip.def
diff --git a/crosstest/test_bitmanip.def b/crosstest/test_bitmanip.def
index b164ab7088472a687368d185d7a2118588c4ed3e..0dac033e34e2acd353961190e75021dc0d03e21f 100644
--- a/crosstest/test_bitmanip.def
+++ b/crosstest/test_bitmanip.def
@@ -39,4 +39,10 @@
FOR_ALL_BMI_TYPES_INST(X, ctpop)
//#define X(inst, type)
+#define BSWAP_TABLE \
+ /* type, builtin_name */ \
+ X(uint16_t, __builtin_bswap16) \
+ X(uint32_t, __builtin_bswap32) \
+ X(uint64_t, __builtin_bswap64)
+
#endif // TEST_BIT_MANIP_DEF
« no previous file with comments | « crosstest/test_bitmanip.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698