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_arith_main.cpp

Issue 1469113003: Subzero. ARM32. Strength reduce multiplications. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 5 years, 1 month 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.def ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_arith_main.cpp
diff --git a/crosstest/test_arith_main.cpp b/crosstest/test_arith_main.cpp
index cb575dbd1c0a95c8bbc89e31340369f4e8a5c799..8e0d6c06b98c3f2fb092561af405be65e0957e52 100644
--- a/crosstest/test_arith_main.cpp
+++ b/crosstest/test_arith_main.cpp
@@ -73,7 +73,15 @@ void testsInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
,
SINTOP_TABLE
#undef X
- };
+#define X(mult_by) \
+ { \
+ "Mult-By-" STR(mult_by), testMultiplyBy##mult_by, \
+ Subzero_::testMultiplyBy##mult_by, NULL, NULL, false \
+ } \
+ , {"Mult-By-Neg-" STR(mult_by), testMultiplyByNeg##mult_by, \
+ Subzero_::testMultiplyByNeg##mult_by, NULL, NULL, false},
+ MULIMM_TABLE};
+#undef X
const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs);
if (sizeof(TypeUnsigned) <= sizeof(uint32_t)) {
« no previous file with comments | « crosstest/test_arith.def ('k') | src/IceTargetLoweringARM32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698