diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-01 18:18:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-01 18:18:57 -0700 |
commit | 4401a0b0e47832a94ba54b787795678535273d19 (patch) | |
tree | 4245019746b4938ca9501e109fe1df4c5e49f269 /tests/runner.py | |
parent | 609bf2ea07190fd87a875ce5fef7016ee2a0ee9b (diff) |
improve i64 precise test
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index c7867c88..84517659 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -840,7 +840,7 @@ m_divisor is 1091269979 int main() { uint64_t x = 0, y = 0; - for (int i = 0; i < 63; i++) { + for (int i = 0; i < 64; i++) { x += 1ULL << i; y += x; x /= 3; @@ -860,9 +860,9 @@ m_divisor is 1091269979 ''' self.do_run(src, open(path_from_root('tests', 'i64_precise.txt')).read()) - print 'TODO: i == 64 unsigned' print 'TODO: make precise the default, and imprecise in -O3' - #1/0. + print 'TODO: only include this code when needed' + 1/0. def test_unaligned(self): if Settings.QUANTUM_SIZE == 1: return self.skip('No meaning to unaligned addresses in q1') |