Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
FFI: Fix 64 bit shift fold rules. Thanks to Peter Cawley. (cherry picked from commit 9e0437240) For `IR_BSHR`, `IR_BROL`, `IR_BROR` during `kfold_int64arith()` the left argument is truncated down to 32 bits, which leads to incorrect results if the right argument is >= 2^32. Also, `IR_BSAR` does an unsigned shift rather than a signed shift, but since this case branch is unreachable, it is harmless for now. This patch fixes all misbehaviours (including possible for `IR_BSAR`) to preserve IR semantics. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199
5692 of 6032 branches covered (94.36%)
Branch coverage included in aggregate %.
21704 of 23445 relevant lines covered (92.57%)
2930197.3 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
76.62 |
-1.3% | src/lj_wbuf.c |
3 |
92.41 |
0.0% | src/lj_opt_narrow.c |
3 |
98.72 |
-0.01% | src/lj_tab.c |
3 |
94.41 |
0.33% | src/lj_ir.c |
4 |
99.16 |
0.16% | src/lj_gc.c |
5 |
65.41 |
3.58% | src/lj_clib.c |
6 |
94.74 |
-4.31% | src/lj_str.c |
9 |
97.6 |
0.01% | src/lj_trace.c |
12 |
91.98 |
0.02% | src/luajit.c |
25 |
87.74 |
0.37% | src/lj_crecord.c |
26 |
96.34 |
-0.02% | src/lj_record.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11373245844.1 | 89 |
92.94 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|