Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 1b0553c9fa8d61010a43b1a2dcb649d1aab7d8ae
Author: Nikolas Klauser <nikolasklauser@berlin.de>
Date: Thu Sep 25 20:16:27 2025 +0200

[libc++] Use _BitInt and __builtin_popcountg in bitset::count() (#160679)

This has multiple benefits:
1) The compiler has to do way less work to figure out things fold into a
simple `popcount`, improving compile times quite a bit
2) The compiler inlines better, since the compile doesn't have to do
complicated optimizations to get to the same point. Looking at the
pipeline, it seems that without this, LLVM has to go all the way to GVN
to get to the same code as there is after the first InstCombine pass
with this change.

Currently this applies only to `bitset`s with at most 64 bits, but that
is by far the most common case.
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 553943 2025-12-16T16:40:01 0:00:00
Previous 553884 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Improvements 6 0
Added Tests 0 16
Unchanged Tests 74 64
Total Tests 80

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
707_ntest_r -10.30% 18.360 16.470 0.058 0.00% 0.058
706_stockfish_r -3.13% 22.164 21.471 0.158 0.00% 0.158
727_cppcheck_r -3.11% 25.319 24.532 0.209 0.00% 0.209
729_abc_r -1.75% 19.039 18.705 0.033 0.00% 0.033
737_gmsh_r -1.72% 12.961 12.738 0.081 0.00% 0.081
723_llvm_r -1.51% 11.684 11.508 0.033 0.00% 0.033

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
735_gem5_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r


Report Time: 0.13s
Name Current %
706_stockfish_r 21.471 -3.13%
707_ntest_r 16.470 -10.30%
709_cactus_r 19.603 -
710_omnetpp_r 8.414 -
721_gcc_r 12.920 -
723_llvm_r 11.508 -1.51%
727_cppcheck_r 24.532 -3.11%
729_abc_r 18.705 -1.75%
731_astcenc_r 10.062 -
735_gem5_r 13.322 -
736_ocio_r 16.251 -
737_gmsh_r 12.738 -1.72%
748_flightdm_r 8.965 -
750_sealcrypto_r 18.468 -
753_ns3_r 10.335 -
766_femflow_r 12.843 -
Geometric Mean 14.095 -1.74%