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

stillwater-sc / universal / 40230749925
89%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 25 Oct 2026 08:46PM UTC
Jobs 1
Files 762
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

25 Oct 2026 08:26PM UTC coverage: 88.238% (-0.006%) from 88.244%
40230749925

push

github

web-flow
perf(efloat): short sums in registers, the binary operators inlined, and clang's short code (#1831)

The mpfr_bands cells that #1829 left above 1.5x MPFR (#1830, Epic #1763):
b-a at 128 bits (1.68x g++, 2.08x clang), a+b at 160 and 256 bits, and
under clang b/a and sqrt at 96 bits and a/7 from 384 bits up.

- add_short<M> forms sums and differences of one to four limbs in a local
  array that stays in registers, with fixed, fully unrolled loops; a whole
  limb cancelled goes to add_frame. add_full_length keeps five limbs and up.
- The four binary operators, assign_sum and add_magnitudes are always
  inlined; assign_sum's special cases move to assign_sum_special. A move of
  efloat_limbs from an inline value that fits is a few inline instructions;
  heap sources take move_heap.
- add_carry/sub_borrow use __builtin_addcll/__builtin_subcll where present.
- udiv_qr_2by1 keeps clang from turning its corrections into a dependent
  chain and a conditional move (clang a/7 at 8192 bits 2450 -> 1943 cycles).
- divide_short and sqrt_short copy into their frames by fixed index (the
  run-time loops became memcpy calls).
- EFLOAT_SCALAR_LOOP / EFLOAT_UNROLLED_LOOP loop annotations.

Every mpfr_bands cell is now within 1.5x MPFR under g++ and clang; the
largest are fma at 96 bits (1.46x) and b-a at 128 bits (1.45x).

Results are bit-identical to main: the old-vs-new sweeps of #1826 and
#1828 plus a new one, in the asm and NO_ASM builds; mpfr_check 0 wrong.
New tests: udiv_qr_2by1/udiv_qrnnd against N = q d + r, and self-moves,
moved-from values and cross-length moves of efloat_limbs.

Resolves #1830

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

116 of 130 new or added lines in 4 files covered. (89.23%)

2 existing lines in 1 file now uncovered.

54982 of 62311 relevant lines covered (88.24%)

9013290.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
95.32
-0.36% include/sw/universal/number/efloat/efloat_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
2
95.32
-0.36% include/sw/universal/number/efloat/efloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 40230749925.1 25 Oct 2026 08:46PM UTC 762
88.24
GitHub Action Run
Source Files on build 40230749925
  • Tree
  • List 762
  • Changed 12
  • Source Changed 4
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40230749925
  • 56aebf79 on github
  • Prev Build on main (#40168143550)
  • Next Build on main (#40237503221)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc