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

WolfSound
WolfSound
12.3 هزار بار بازدید - 2 سال پیش - ✅ Check out the full
✅ Check out the full article on TheWolfSound.com: https://www.thewolfsound.com/simd-in-...
➡️ Data alignment explained: What is data alignment? Optimality, e...
✅ Sign up for WolfSound's newsletter: https://thewolfsound.com/newsletter/
✅ Please subscribe to WolfSound to let the little Wolf 🐺 grow:
https://www.seevid.ir/c/WolfSoundAu...
🎧 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: How I Got Started With Audio Programm...

FOLLOW WOLFSOUND ONLINE

✅ Blog: https://www.thewolfsound.com/
✅ LinkedIn: LinkedIn: jan-wilczek-audio-programmer
✅ Twitter: Twitter: wilczek_jan
✅ Facebook: Facebook: JanWilczekWolfSound
✅ Instagram: Instagram: janwolfwilczek
✅ Pinterest: Pinterest: 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
2 سال پیش در تاریخ 1400/12/23 منتشر شده است.
12,358 بـار بازدید شده
... بیشتر