SIMD, Intrinsics and Target Features
summary
Covers practical use of CPU features like SIMD and cryptographic instruction extensions for accelerating code in Rust. Explains how compilers perform autovectorization and what prevents it, how to declare and use target-features at compile- and run-time, how to use std::arch intrinsics versus inline assembly, and introduces std::simd and its future prospects.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:09CPU instruction sets
- 2:57What is SIMD
- 5:55Target features
- 8:47Scalar vs SIMD
- 11:42Autovectorization issues
- 14:15Runtime feature detection
- 16:28Conditional compilation
- 22:40Using intrinsics
- 27:03Practical intrinsics example
- 31:51Cryptographic extensions
- 33:17Limitations and downsides
- 35:01Std SIMD overview
- 40:24Q&A
