/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
The Weird Concept of Branchless Programming
(sanixdk.xyz)
170 points
judicious
| 1 comments |
28 Sep 25 16:40 UTC
|
HN request time: 0s
|
source
Show context
mwkaufma
◴[
28 Sep 25 22:10 UTC
]
No.
45408552
[source]
▶
>>45405750 (OP)
#
Is cmov branchless, or just branching by another name?
replies(3):
>>45409160
#
>>45409795
#
>>45410660
#
1.
teo_zero
◴[
29 Sep 25 05:47 UTC
]
No.
45410660
[source]
▶
>>45408552
#
CMOV is branchless. During all steps of its execution, the CPU doesn't have to invalidate any stage of its pipeline (well, excluding errors like accessing forbidden memory addresses, etc.).
ID:
GO
↑