/explore
|
You are here |
raphlinus.github.io | ||
| | | | |
cprimozic.net
A detailed summary of the techniques I used to optimize my Advent of Code 2024 solution for Day 9 Part 2. Employs a variety of techniques including algorithmic shortcuts, bespoke data structures, and low-level optimizations + SIMD. |
|
| | | | | ||
| | | | |
mcyoung.xyz
[AI summary] The text provides an in-depth exploration of SIMD (Single Instruction, Multiple Data) programming, focusing on its application in optimizing algorithms like base64 decoding. It outlines the challenges of writing portable SIMD code across different architectures, the role of compilers and instruction sets, and the importance of avoiding branches in performance-critical code. The article transitions into a practical example of implementing a SIMD version of the base64 decoding algorithm, emphasizing the use of shuffles and data reordering to efficiently process data in parallel. It also touches on the trade-offs between using intrinsics, portable SIMD libraries, and compiler optimizations, while highlighting the complexities of cross-platform deve... |
|
| | | | | ||
| | | | |
hackmd.io
Even within the same architecture, CPUs vary significantly in which SIMD ISA extensions they implement. For example, x86 CPUs currently have about 12 (!) different possible configurations with respect to AVX-512 support alone. |
|
| | | | | ||
| | | | |
www.openmymind.net
|
|
| | | |||