diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-19 16:42:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-19 16:42:57 -0700 |
commit | dea71e919af37eba2f1253b59580765eda6cb8b1 (patch) | |
tree | ddbac08a64e073216a1ae6dc1937b04909a02e2a /tests/runner.py | |
parent | 003042c91b1bca85bc7244bc6168e68caef86e08 (diff) | |
parent | 2e2fa6839421d97c096a964f04d24970f3b13217 (diff) |
Merge pull request #974 from waywardmonkeys/fix-ctpop
Fix large values in llvm_ctpop_i32().
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 529dcc48..d375d2f7 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -1269,6 +1269,7 @@ m_divisor is 1091269979 printf("%d,%d\n", (int)llvm_ctlz_i64(((int64_t)1) << 40), llvm_ctlz_i32(1<<10)); printf("%d,%d\n", (int)llvm_cttz_i64(((int64_t)1) << 40), llvm_cttz_i32(1<<10)); printf("%d,%d\n", (int)llvm_ctpop_i64((0x3101ULL << 32) | 1), llvm_ctpop_i32(0x3101)); + printf("%d\n", (int)llvm_ctpop_i32(-594093059)); printf("%d\n", llvm_expect_i32(x % 27, 3)); @@ -1286,6 +1287,7 @@ c5,de,15,8a 23,21 40,10 5,4 +22 13 72057594037927936 ''') |