aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-09 16:49:19 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-09 16:49:19 -0800
commit3434fa6b560829dd8317e02d0af7fc2f9fb50fee (patch)
treeed93474f5a01bbd9cd420ee4060f902c022612a2 /src
parentdb57539c2793c20812dd53bccfd95a7be722cf17 (diff)
tweak unrolling parameters and add copy benchmark that uses ta2
Diffstat (limited to 'src')
-rw-r--r--src/parseTools.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 0601045d..220e15f7 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1032,8 +1032,8 @@ function makeSetValue(ptr, pos, value, type, noNeedFirst, ignore, align, noSafe)
}
}
-var SEEK_OPTIMAL_ALIGN_MIN = 40;
-var UNROLL_LOOP_MAX = 5;
+var SEEK_OPTIMAL_ALIGN_MIN = 20;
+var UNROLL_LOOP_MAX = 8;
function makeSetValues(ptr, pos, value, type, num, align) {
function unroll(type, num, jump, value$) {