Skip to content

[2026-06 LWG Motion 11] P3793R2 Better shifting#9068

Merged
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:motions-2026-06-lwg-11
Jul 15, 2026
Merged

[2026-06 LWG Motion 11] P3793R2 Better shifting#9068
tkoeppe merged 1 commit into
cplusplus:mainfrom
eisenwave:motions-2026-06-lwg-11

Conversation

@eisenwave

@eisenwave eisenwave commented Jun 13, 2026

Copy link
Copy Markdown
Member

Fixes #9098
Also fixes cplusplus/papers#2399

Note

The rename of simd-vec-type to simd-integral was deliberately omitted for now so that we can have a green CI build. It's trivial for Thomas to apply that or for a fixup commit to add that in.

@eisenwave

eisenwave commented Jul 15, 2026

Copy link
Copy Markdown
Member Author

@jwakely @brevzin last chance to deal with
#9109 (comment)

Both these papers bump __cpp_lib_bitops but LWG wanted there to be distinct bumps, so does that mean 202606L/202607L, or does it mean 202605L/202606L?

We also have the same situation for __cpp_lib_simd_bitops, which is introduced in this paper, but then immediately bumped by motion 15.

@jwakely

jwakely commented Jul 15, 2026

Copy link
Copy Markdown
Member

@jwakely @brevzin last chance to deal with #9109 (comment)

Both these papers bump __cpp_lib_bitops but LWG wanted there to be distinct bumps, so does that mean 202606L/202607L, or does it mean 202605L/202606L?

It doesn't matter.

I thought we did it as increasing from the date of the meeting but __cpp_lib_format does it the other way. I don't care, it doesn't matter.

@tkoeppe tkoeppe force-pushed the motions-2026-06-lwg-11 branch from 13abe7f to 17d65af Compare July 15, 2026 12:52
@eisenwave

Copy link
Copy Markdown
Member Author

@tkoeppe still gotta replace simd-vec-type with simd-integral.

@tkoeppe

tkoeppe commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Thanks. Does the paper mis-cite the signatures of rotl and rotr`?

@tkoeppe tkoeppe force-pushed the motions-2026-06-lwg-11 branch from 17d65af to bca55b8 Compare July 15, 2026 13:49
@eisenwave

Copy link
Copy Markdown
Member Author

Thanks. Does the paper mis-cite the signatures of rotl and rotr`?

It might be citing the already applied motion from another paper that replaced simd-vec-type with simd-integral for those other functions.

@tkoeppe tkoeppe merged commit e916965 into cplusplus:main Jul 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2026-06 LWG Motion 11] P3793R2 (Better shifting) P3793 R1 Better shifting

3 participants