StackOverflow Questions for Tag: branchless

TNThung
TNThung

Reputation: 1

Branchless comparison in x86_64

Score: 0

Views: 734

Answers: 0

Read More
GWW
GWW

Reputation: 44093

Branchless Binary Search

Score: 9

Views: 3564

Answers: 2

Read More
Todd Lehman
Todd Lehman

Reputation: 2930

Branchless conditionals on integers — fast, but can they be made faster?

Score: 18

Views: 7098

Answers: 1

Read More
Bram
Bram

Reputation: 8283

RISCV branchless coding

Score: 9

Views: 2464

Answers: 2

Read More
x-x
x-x

Reputation: 7515

Set bit X of an integer to bit Y of another integer without branching?

Score: 7

Views: 586

Answers: 3

Read More
Robert
Robert

Reputation: 109

How to Compare two registers and perform action if greater than without branching in ARM

Score: 1

Views: 5723

Answers: 1

Read More
Celeborth
Celeborth

Reputation: 48

How to iterate from head to tail in circular buffer without branching

Score: 0

Views: 978

Answers: 1

Read More
Adam
Adam

Reputation: 31

Absolute value without branching or shifts, only add/sub and booleans

Score: 2

Views: 1858

Answers: 2

Read More
goodvibration
goodvibration

Reputation: 6206

Convert x >= y into 1 or 0 without branching or Boolean expressions

Score: 8

Views: 641

Answers: 4

Read More
galinette
galinette

Reputation: 9292

Is using the result of comparison as int really branchless?

Score: 8

Views: 2086

Answers: 2

Read More
aaron-prindle
aaron-prindle

Reputation: 3297

Is it the case that comparisons imply a branch?

Score: 1

Views: 844

Answers: 4

Read More
someone
someone

Reputation: 1696

What does 'branching' mean in terms of setting/resetting bits?

Score: 8

Views: 5260

Answers: 2

Read More
user14557971
user14557971

Reputation: 83

Set 8th bit if all lower 7 bits are set without branching

Score: 3

Views: 177

Answers: 1

Read More
FinalJon
FinalJon

Reputation: 385

How to round to an integer without branching in Assembly?

Score: 4

Views: 6842

Answers: 5

Read More
martinkunev
martinkunev

Reputation: 1405

Double or set integer without branching in C

Score: -4

Views: 168

Answers: 3

Read More
user408952
user408952

Reputation: 932

Test if fixed set is equal without branching

Score: 3

Views: 308

Answers: 5

Read More
yong
yong

Reputation: 3633

Change (0, 1] to (0, 1) without branching

Score: 5

Views: 181

Answers: 1

Read More
bozeng
bozeng

Reputation: 265

What does (unsigned) do in this abs() function?

Score: 1

Views: 319

Answers: 5

Read More
Filippo Bistaffa
Filippo Bistaffa

Reputation: 594

Compare in CUDA without branching

Score: 2

Views: 402

Answers: 1

Read More
Tobias Ribizel
Tobias Ribizel

Reputation: 5421

Generating prefix bitmasks

Score: 4

Views: 383

Answers: 4

Read More
PreviousPage 2Next