SpiceQA
Questions
Tags
Users
Badges
likely-unlikely
7 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
[[(un)likely]] attributes and do-while loops
user_13456180
0
•
asked May 25, 2022
10
2
167
c++20
likely-unlikely
c++
Can I improve branch prediction with my code?
user_476091
0
•
asked Jan 5, 2022
3
1
452
branch-prediction
likely-unlikely
gcc
optimization
c++
MSVC C++ compiler giving inconsistent performance on different builds of the same code when using [[unlikely/likely]] attributes
user_9642458
0
•
asked Jul 6, 2021
3
0
97
c++20
likely-unlikely
x86-64
visual-c++
c++
Simple example where [[likely]] and [[unlikely]] affect program assembly?
user_4967403
0
•
asked Jun 5, 2020
17
1
779
c++20
likely-unlikely
assembly
gcc
c++
Can likely/unlikely macros be used in user-space code?
user_196629
0
•
asked Nov 3, 2009
26
3
13972
likely-unlikely
gcc
optimization
linux
c
likely/unlikely equivalent for MSVC
user_138579
0
•
asked Sep 17, 2009
58
8
23553
likely-unlikely
gcc
visual-studio
compiler-construction
optimization
How do the likely/unlikely macros in the Linux kernel work and what is their benefit?
terminus_9232
0
•
asked Sep 20, 2008
421
10
185790
likely-unlikely
linux-kernel
gcc
linux
1
(current)
Hot Questions