Back to Browse

What Are SIMD Instructions? (With a Code Example) [DSP #14]

20.0K views
Mar 14, 2022
22:20

✅ Check out the full article on TheWolfSound.com: https://www.thewolfsound.com/simd-in-dsp/ ➡️ Data alignment explained: https://youtu.be/tyw6_B0-QZA ✅ Sign up for WolfSound's newsletter: https://thewolfsound.com/newsletter/ ✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow: https://www.youtube.com/c/WolfSoundAudio?sub_confirmation=1 🎧 Listen to my music: https://thewolfofficial.com/ Hi, my name is Jan Wilczek and I am an audio programmer and a researcher. Welcome to WolfSound! WolfSound's mission is to provide high-quality, informative, and entertaining videos, articles, and courses on how to process sound by exploring mathematics, applying algorithms, and creating code in various programming languages. Topics include sound synthesis, digital signal processing, programming languages for audio (C, C++, Python, Rust), and audio effects. I am also sharing tips on how to learn fast and effectively. Make sure to visit https://www.thewolfsound.com/. WolfSound enables everybody to learn about audio programming! ABOUT THE VIDEO In this video, I explain what is Single Instruction, Multiple Data (SIMD), how is it useful in DSP, and show a small example of code using SIMD that adds two vectors together. 💡 In short, SIMD instructions let us perform operations on more than one variable at once using dedicated processor registers. 💡 Different processor architectures and models have different SIMD instructions available. 💡 SIMD instructions can make your DSP code significantly faster at the cost of ➡️ code complexity. ➡️ portability, ➡️ expert knowledge on processors. In case of any doubt in understanding, please, refer to the article above or ask a question in the comments 🙂 Video edited by Jorge Jimenez. ABOUT ME My name is Jan Wilczek. I am an audio programmer, a researcher in the field of music technology, and a musician. Through articles and videos from WolfSound, you will easily understand the main concepts of sound processing using software. My full story: https://youtu.be/0kBpcACGM6g FOLLOW WOLFSOUND ONLINE ✅ Blog: https://www.thewolfsound.com/ ✅ LinkedIn: https://www.linkedin.com/in/jan-wilczek-audio-programmer/ ✅ Twitter: https://twitter.com/wilczek_jan ✅ Facebook: https://www.facebook.com/JanWilczekWolfSound ✅ Instagram: https://www.instagram.com/janwolfwilczek/ ✅ Pinterest: https://pl.pinterest.com/jawitrle/ TIME CODES 00:00 Introduction 00:47 Why do we need fast processing in audio? 01:38 What is SIMD? 02:14 Typical SIMD instructions 03:52 How can we access SIMD instructions? 06:28 Most popular SIMD instruction sets 08:30 Why is SIMD useful in DSP? 10:22 Disadvantages of SIMD 13:24 Code example: vector addition using SIMD 21:04 Summary #simd #dsp

Download

1 formats

Video Formats

360pmp445.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

What Are SIMD Instructions? (With a Code Example) [DSP #14] | NatokHD