Include x86gprintrin.h instead of bmi2intrin.h #2071
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.10) × (1 − Review Confidence (0.84)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.10 · 2 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 4 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.066
Real PR Conversation Timeline
5 items
This doesn't seem to work for clang. The clang version doesn't transitively include bmi2intrin.h. It looks like <immintrin.h> works on all compilers. I'll fix that for you.
That seems reasonable. Thanks for the review and revision.
spotted also with gcc 14 on almalinux and rockylinux in our docker based ci of google/or-tools...
see: https://github.com/google/or-tools/actions/runs/28590300063/job/84771871935
@derekmauro would be cool if you can add it to the release's "Known Issues"
https://github.com/abseil/abseil-cpp/releases/tag/20260526.0 (or enable discussion on release so we can comment it...)
Added it to the known issues. We may do a patch release to include this fix.
derekmauro
musicinmybrain
GCC 16 produces an error when including
bmi2intrin.hdirectly:See https://github.com/gcc-mirror/gcc/blob/cd33e5ad1945f19b5b1b2429ee62d1b3c8919914/gcc/config/i386/bmi2intrin.h#L24-L26.
This PR fixes failure to build with GCC 16 when the BMI2 extensions are enabled, e.g., when targeting
x86_64-v3, by following the compiler’s advice.