• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 11380100489
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 17 Oct 2024 07:16AM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Oct 2024 07:03AM UTC coverage: 92.974% (-0.08%) from 93.056%
11380100489

push

github

Buristan
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

Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>

5694 of 6032 branches covered (94.4%)

Branch coverage included in aggregate %.

21712 of 23445 relevant lines covered (92.61%)

2931751.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.34
-0.1% src/lj_record.c
2
96.81
0.56% src/lj_carith.c
2
78.34
0.31% src/lj_opt_fold.c
33
87.16
-3.17% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 11380100489.1 17 Oct 2024 07:16AM UTC 89
92.97
GitHub Action Run
Source Files on build 11380100489
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #11380100489
  • f0bc0892 on github
  • Prev Build on tarantool/master (#11373217569)
  • Next Build on tarantool/master (#11382361254)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc