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

Unified Diff: test/mjsunit/asm/int32mod-constant.js

Issue 727673002: [turbofan] Optimize remainder of integer division by unknown power of two. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix broken Int32Mod on ARM Created 6 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 | « test/mjsunit/asm/int32mod.js ('k') | test/mjsunit/asm/uint32mod.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/asm/int32mod-constant.js
diff --git a/test/mjsunit/asm/int32mod.js b/test/mjsunit/asm/int32mod-constant.js
similarity index 99%
copy from test/mjsunit/asm/int32mod.js
copy to test/mjsunit/asm/int32mod-constant.js
index ec3e887ce4408aabb191f2dccab575c73a90070a..fdbdc5de108d94bb24b34be9b53958cd9c720025 100644
--- a/test/mjsunit/asm/int32mod.js
+++ b/test/mjsunit/asm/int32mod-constant.js
@@ -22,7 +22,7 @@ function Int32Mod(divisor) {
return m(stdlib, foreign, heap).f;
}
-var divisors = [-2147483648, -32 * 1024, -1000, -16, -7, -2, -1,
+var divisors = [-2147483648, -32 * 1024, -1000, -16, -7, -2, -1, 0,
1, 3, 4, 10, 64, 100, 1024, 2147483647];
for (var i in divisors) {
var divisor = divisors[i];
« no previous file with comments | « test/mjsunit/asm/int32mod.js ('k') | test/mjsunit/asm/uint32mod.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698