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

Unified Diff: crosstest/test_bitmanip.def

Issue 1273153002: Subzero. Native 64-bit int arithmetic on x86-64. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes tests & make format Created 5 years, 4 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_arith_main.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 0dac033e34e2acd353961190e75021dc0d03e21f..443ad5ad21525cef5a3a626411bf674810541c75 100644
--- a/crosstest/test_bitmanip.def
+++ b/crosstest/test_bitmanip.def
@@ -14,6 +14,8 @@
#ifndef TEST_BIT_MANIP_DEF
#define TEST_BIT_MANIP_DEF
+#include "xdefs.h"
+
#define STR(s) #s
#define BMI_OPS \
@@ -25,13 +27,13 @@
#define BMI_TYPES \
/* type */ \
- X(uint32_t) \
- X(uint64_t)
+ X(uint32) \
+ X(uint64)
// #define X(type)
#define FOR_ALL_BMI_TYPES_INST(F, inst) \
- F(inst, uint32_t) \
- F(inst, uint64_t)
+ F(inst, uint32) \
+ F(inst, uint64)
#define FOR_ALL_BMI_OP_TYPES(X) \
FOR_ALL_BMI_TYPES_INST(X, ctlz) \
@@ -42,7 +44,7 @@
#define BSWAP_TABLE \
/* type, builtin_name */ \
X(uint16_t, __builtin_bswap16) \
- X(uint32_t, __builtin_bswap32) \
- X(uint64_t, __builtin_bswap64)
+ X(uint32, __builtin_bswap32) \
+ X(uint64, __builtin_bswap64)
#endif // TEST_BIT_MANIP_DEF
« no previous file with comments | « crosstest/test_arith_main.cpp ('k') | crosstest/test_bitmanip_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698