aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-13 18:49:24 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-13 18:49:24 -0700
commit332bf03ca0d63aefc7cd8a38f938568e0ad77245 (patch)
treea55fcaaf52eae500b6da4bd528096182193fbd25 /tests/runner.py
parent45e0df86eb8adeb22b0a6addcc930e31eeacd342 (diff)
remove unneeded 64-bit shifts code
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 6679a621..5a7cf21c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -829,11 +829,14 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv) and 'brows
int add_low = add;
int add_high = add >> 32;
printf("*%lld,%lld,%u,%u*\n", mul, add, add_low, add_high);
+ int64 x = sec + (usec << 25);
+ x >>= argc*3;
+ printf("*%llu*\n", x);
return 0;
}
'''
- self.do_run(src, '*1329409676000000,1329412005509675,3663280683,309527*\n')
+ self.do_run(src, '*1329409676000000,1329412005509675,3663280683,309527*\n*9770671914067409*\n')
def test_i64_cmp(self):
if Settings.USE_TYPED_ARRAYS != 2: return self.skip('full i64 stuff only in ta2')