Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in micro-optimization

Insert a bit in a byte at pos n with Assembly

Is it faster to pop unneeded values from the stack, or add an immediate constant to SP on a 386+ CPU?

Branchless count-leading-zeros on 32-bit RISC-V without Zbb extension

Missing optimization: mov al, [mem] to bitfield-insert a new low byte into an integer

Intel 8086 Assembly -- Squaring a Register

C++ Is this a form of micro optimization

c++ micro-optimization

Does each Floating point operation take the same time?

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

Which sequence of instructions has better performance for zeroing one register or another?

When source registers in avx instruction can be reused

Using Intrinsics to Extract And Shift Odd/Even Bits

Should I aggressively release memory while reading a file line by line in Perl?

Long latency instruction

Why is this reordering of sub and mul instructions helpful?

3D Morton code computation utilizing carry-less multiplication

x86 assembly - optimization of clamping rax to [ 0 .. limit )

Why does some Windows booloader code zero registers with `sub` instead of `xor`?

Does it make sense to use a relaxed load followed by a conditional fence, if I don't always need acquire semantics?