Search code examples
Performance penalty: denormalized numbers versus branch mis-predictions...

c++x86floating-pointmicro-optimizationbranch-prediction

Read More
Branch prediction in compiler level...

compiler-constructionbranch-prediction

Read More
Why is a CPU branch instruction slow?...

optimizationlanguage-agnosticcpucpu-architecturebranch-prediction

Read More
Why is processing a sorted array faster than processing an unsorted array?...

javac++performancecpu-architecturebranch-prediction

Read More
Why is (a*b != 0) faster than (a != 0 && b != 0) in Java?...

javaperformanceprocessing-efficiencymicrobenchmarkbranch-prediction

Read More
Why not just predict both branches?...

cpucpu-architectureprefetchbranch-predictionspeculative-execution

Read More
Can I improve branch prediction with my code?...

c++gccoptimizationbranch-predictionlikely-unlikely

Read More
Preserving the Execution pipeline with branch layout in C source? Which prediction do CPUs or compil...

ccpu-architecturecompiler-optimizationmicro-optimizationbranch-prediction

Read More
How can I make branchless code and how does it work?...

performancebit-manipulationbranch-predictionbranchless

Read More
Intel x86 0x2E/0x3E Prefix Branch Prediction actually used?...

gccx86x86-64branch-prediction

Read More
Correctly using C++20 `[[likely]]`/`[[unlikely]]` in `switch` statements...

c++attributesswitch-statementc++20branch-prediction

Read More
Is there a code that results in 50% branch prediction miss?...

cperformancecpu-architecturecompiler-optimizationbranch-prediction

Read More
Hint for branch prediction in assertions...

c++optimizationbranch-prediction

Read More
Why don't x86/ARM CPU just stop speculation for indirect branches when hardware prediction is no...

x86cpu-architecturebranch-prediction

Read More
Why branch prediction is faster than function call in enum?...

javaenumsjvmbranch-prediction

Read More
Optimization: Expensive branching vs cheap comparison for counting base10 digits (ilog10)...

c++optimizationcachingcpu-architecturebranch-prediction

Read More
Use branch prediction with no else statement...

javaalgorithmconventionsselection-sortbranch-prediction

Read More
Is using the result of comparison as int really branchless?...

c++ccomparisonbranch-predictionbranchless

Read More
Branch prediction and UB (undefined behavior)...

c++ccpu-architectureundefined-behaviorbranch-prediction

Read More
How do the likely/unlikely macros in the Linux kernel work and what is their benefit?...

cgcclinux-kernelbranch-predictionlikely-unlikely

Read More
What is faster in C++: mod (%) or another counter?...

c++performanceassemblymicro-optimizationbranch-prediction

Read More
How far does GCC's __builtin_expect go?...

c++cgccoptimizationbranch-prediction

Read More
How much does a mispredicted conditional branch cost?...

performancecpubranch-prediction

Read More
Is it possible to aid branch prediction?...

c++cbranch-prediction

Read More
Is there automatic L1i cache prefetching on x86?...

x86cpu-architecturebranch-prediction

Read More
Is 2-bit prediction always better than 1-bit?...

cpu-architecturebranch-prediction

Read More
2 bit branch predictor with two for loops...

cpu-architecturebranch-prediction

Read More
Why do we need stalls even if branches can be determined?...

mipscpu-architecturebranch-predictionpipelining

Read More
What exactly happens when a skylake CPU mispredicts a branch?...

x86intelcpu-architecturebranch-predictionspeculative-execution

Read More
How does Branch Prediction affect performance in R?...

rperformancebenchmarkingbranch-predictioninterpreted-language

Read More
BackNext