The Magic of RISC-V Vector Processing
Vložit
- čas přidán 19. 06. 2024
- The 1.0 RISC-V Vector Specification is now Ratified, and the first pieces of silicon using the new spec are starting to hit the shelves. I go over the utility of Vector Instructions, why you would want them, why you should care, and how to use them in raw assembly code! We also touch on some complex computer engineering topics like Vector Length Agnosticism.
By the end of this video, you'll understand why this is such an exciting time in computing history!
Note: This video is not sponsored, I just think the K230 is an interesting chip.
---
RISC-V Official 1.0 Vector Spec:
github.com/riscv/riscv-v-spec...
---
Follow LaurieWired on Social Media:
►linktr.ee/lauriewired
---
Timestamps:
0:00 RISC-V ISA Overview
1:50 What are Vector Instructions?
5:46 0.7 Draft Spec vs 1.0 Ratified Spec
7:13 SoC Overview
8:15 Vector Assembly Code
11:01 Real Time Demonstration + GDB
13:20 FFmpeg RISC-V Vector Patch
14:51 Closing Thoughts - Věda a technologie
It’s freaking me out that this channel went from a typical “host sitting at a computer in the corner of a screen cast” to a full on television show. In like a month! And the content is new and engaging, not just someone reading a Wikipedia page at the audience. I was already subscribed but well done. Looking forward to the next one.
Yeah, the editing and everything made me stick around. Especially for a small and new channel.
I’ve never seen a channel start out professionally edited.
She is brilliant, it glows in the dark if i dare to say
How do they even find someone to help them with all this?
@@kurtm54 it’s homemade.
@@12q8still need to someone to help with. That camera is not gonna move by itself.😅
The editing on this one 👌
for REAL, next level
Noice 👌
The misinformation is also on point.
@@justanaveragebalkan what information is incorrect?
Wow crazy production quality and valuable content 🔥
and don’t forget the bangs
On point
@@Walczyk Came for RISC-V, stayed for the bangs.
This girl is gonna blow up, mark my words. Reminds me of the golden age of science content on CZcams (2011-2013).
Oh yea. She's gonna blow up really well ig 😳
Tech + women = everything a man need. In addition she has a great ideas for a video. Not sure she(or whoever works for her) could keep up with the last one for a long time.
She is a very good presenter. Well spoken.
@@johnmckown1267 Good presenter, good content and good editing. She's got everything to succeed.
@@NameUserOfew
You're a modern day Ada Lovelace. Some of the best low level content I've seen on this platform.
I am a digital designer and been diving pretty deep into RISC V in the last year or so, and no joke that is one of the best pieces of work I've seen. Amazing explanation while still beeing entretaining, keep the great work, you've just gained a new fan
As an ex VLSI engineer this was an amazing quality intrduction to vector processing, but also video production, meme's and audio all are great.
Susbcribed for more!
Just curious, why did you leave your role?
I have seen every kind of video on CZcams, but nothing prepared me for this. This is my first video of LaurieWired. I didn't expect to go from analogies of baking sheets to coding vectors in raw risc-v assembly using Mac OS 9 Windowing system, the modern Windows Terminal with a Win XP start bar. I was on the edge of my seat watching you hold that cookie and never taking a bite. You're a menace and I am here for it.
Soo true
MacOS 9? Looks like System 7 at the point I just got up to. On a twin floppy SE. Wtf? Continuing...
And no recipe for the cookies either. How wude!
On another level
Wow! The quality of these videos just keeps getting better and better. Great job Laurie!
This day and age a channel like this is a blessing
It's cool to get a mini-tutorial on using gdb in the middle of this. Great video!
Damn, the 90s called, they wanna put your CZcams channel on tv.
Vector Processing is how modern video games (typically) achieve so much at such high framerates. We use SIMD everywhere we can. Great video!
Laurie, you are an excellent speaker! Never once said, "you know" or "just". Not a single word whisker. You are the Standard all should strive to meet. Thank you! I have subscribed.
There is something psychological with these videos. I just get hooked into it.
Young fertile female. Bangs. Sweet voice. Actually saying something interesting. How could you not get hooked?
maybe it's because she's attractive
Sexxxo
You know the movie "Despicable Me"?
You know how people can't get enough of the Minions?
You remember how the Minions sound?
It's that.
It's the girl. She's cute _and_ smart.
Editing - 10/10
Information - 10/10
Cookie Baking - Ehm....
too much baking powder, I think
lol
I really love how passionate you are about the topics you present and also about how you present them.
Please, continue to brighten our mood and infect us with your profound and optimistic way of valueing hardware and software
Velma's over here trying to disguise herself via the superman method. No one's fooled.
Awesome video, thanks for the explanations!
OMG you touched grass, that's like unheard of in Computer engineering
Honestly a lot of computer scientists love nature, I suppose you get tired of computers working with them all day. I know I do
@@pinekel8987 yeah but not everyone works on the Google campus with greenery everywhere 💔
@@ChanakyanStudent7971 I mean... parks and hiking trails exist?
It's a green screen :0
why touch grass when you can code grass
this juxtaposition of nitty-gritty details and the airy and pleasant presentation style is the format i never realised i wanted, but it just works, keep it up :)
Yes, very interesting stuff, and a very interesting time to be watching all this happen. Thanks, Laurie, for making this *exceedingly esoteric* subject both accessible and interesting. You make it look effortless. Do please keep up the good work.
@LaurieWired, this is my first viewing of your channel. I've learned some things, have a new SBC to order, and feel like I just received an invite to Cyberia. I'm glad that you exist. Thanks!
that's the highest pitched technical talk I have ever heard
Gosh, I was really totally following the first 8 minutes of this video. The history lesson was so interesting. You're a natural teacher. Love all of the new editing stuff too. My new favorite words, VECTOR VECTOR!
Amazing video on RISC-V! Glad to see there's an RVV 1.0 board now!
Amazing flow of explanation and balance between technical details and real world analogies to help the viewer understand. Production quality and editing are very impressive. I learned a lot and your obvious passion for this topic is inspiring.
Your aesthetic, enthusiasm, and vibes are amazing! The attention to detail and passion you put into your videos always leave me impressed. The cut at 29 seconds had me cracking up. I really appreciate the pauses you include between pieces of information; it gives me time to process everything. All the different bits really take this from good to great. This video even got me hyped up about a new instruction set!
I appreciate the disclaimer at the end, too.
You're an Artist for sure. No one does more justice in the world than a good teacher, keep it up!
Love the editing and pacing of this one. Cookie analogy was also on point. Outstanding work! 👌🏻
Your videos are genuine works of art. I'm really glad to have found your channel, please keep it up!
I absolutely love the production quality on this! I am blown away by how good it is and how well you're able to teach these concepts! I hope more like this can continue cause I love watching it and im sure so many others do!
This gives off the vibes that once im done watching this video, I'm gunna go ask my mom if I could have a few quarters to head over to the arcade with my friends, and I love that so much. It feels like im stepping back in time! (Which I appreciate a lot as I was born in the 2000s so I never really got to experience that!)
Outstanding quality and handpicked information. Great job 😊
Only 3 minutes into the episode and this is already the best video I've seen this year so far. Great job!
I learn quite a lot from your videos too @CoreDumped
Yes, your videos are so helpful too!
It's amazing the quality of your videos for every new one. Congratulations. We love you Laurie ❤️😊
just wow. the recording, audio, editing, literally everything in this video is top notch!
Great video, I have watched your content from the beginning and I can see a massive improvement.
The assembly code example was very helpful to underestand the benefits of using vector instead of scalar funtions. Cool video!
Seeing cutting edge technology grow like this is really cool, and this channel explains it very well and with entertaining editing/production.
Your videos are amazing, this specific one blew my mind with how well edited and produced it is
Please don't take this first statement the wrong way :
I chuckled for a moment hearing your "little girl-like" voice.
As the outward expression of a highly intelligent and creative person, it is such a joy for an old, retired coder to hear and witness someone present things in a few minutes that many of us took years to understand. You have a long and very fruitful career ahead of you!
Best wishes and looking forward to seeing your next presentation.
Christ Almighty, the editing! The filming! The a e s t h e t i c s!
It's so captivating!
I'm gonna coom
I like the transitions done to visualize the devise and drill down to the scheme.. Top notch!
You are the definition of "Quality over Quantity" and I love that! Thank you for your content! You remind of pre-2016 CZcams!
Wow Laurie, that was intense! A lot of info in this one. Got to read on how do length agnostic intructions work. Interesting musical quotes from Madonna's Ray of light album around 4:00 - hard to believe this album came out the same year as SSE instructions did :)
Splendid. Thank you. RiscV is highly appreciated content and here to stay :)
I love the fact that the whole style of the videos have changed, BUT still keeps in line with what we know from you with the Laurie Wired windows in the corner and all of that. A mix of old and new 🔥
Thank you so much for this video and for your work in general! This video is amazingly edited and you make this topic interesting and easy to understand. And ofc I'm glad that you encourage people to learn low-level computer programming
Keep doing it like this, you'll have 1M subscribers before the end of the year.
Your enthusiasm is infectious, content thorough and candid. Keep up the great work!
Amazing video! Your skillset is incredible. From programming, filming, editing to presenting. I just found this channel through a short and I immidiately subscribed. Love the aesthetics.
Bravo for the quality of the video ! I really got hooked on the subject thanks to the quality of the metaphors and explanations.
The editing is top notch,tbh the production quality matches that of good television documentaries.
Her editing and teaching skills rizzed my ADHD attention span. I want to play with RISC-V now and I'm not a software engineer 🤔
Math, coding, engineering is a great exercise for attention.
I had a hard time following the usually 90min long modules at university. Now i easily spend 4h on a problem if my job allows me to do so.
I hope that doesn't sound discouraging... It's my job so i prepared around 10 years to do so if we add my time at universities.
Lmao I need to tapeout a RISC-V chip called Rizz-V
You are high if you think she understands 1% of what she is saying
@@Michael_Jackson187 Aww, found the fragile guy in the comments who can't stand that there are so many women in the world who are way smarter than he is. It's okay bud. 😢
@@matthewhayes7671 dumb ass dudes like you is what keep the channel going
Awesome video. I can't believe how quickly your video creation skills are growing to match your ability to breakdown and explain tech at such a granular level. More people need to find this channel.
Now, if you need me, I'm craving a fresh baked cookie..
this is some of the most engaging content i've seen in a long time holy hell
Great video and presentation. This reminds me of the robust nature of the TI 99/4 from the early 80s. Need a 16 bit reg? Make one. Run out of registers? Create a new set! We were doing stuff that the Z80 and 6502 couldn't dream of. It looks like you're witness to (and participant in) a new revolution in computing. Hopefully, it goes better than it did for the 99/4 ...
1:31 "Huh, that really looks like Seattle."
1:43 "Oh."
Is that a needle?!
Great video, again! ^^. I got a few RISC-V to play with. It's fun and educational. Have a great one Laurie.
Great video. I'll start a PhD in computer architecture in september so as you say it's nice to have an "open" ISA to work with. People from europe complains about not hearing opinion outside Berkeley, Berkeley made decisions without taking into account out-of-order designs making it more complex. But overall it's nice to have an open ISA and computer architecture investigation switching to RISC-V to have more freedom.
Very good video to introduce vector operations I will recommend it to bachelor students :)
They’re free to create EuRISC 🤷🏻♂️
What in Riscv, make it harder to design a out of order core?
Once you enter the realm of OoO super-scaler and so on, you will likely have micro-ops anyway so the ISA doesn‘t matter too much anymore.
@@rj7250a I don't remember exactly. It was because the bits in the mask in vector operation that complicated wiring when you are renaming registers. I need to watch the documentation to remember
@@TheJuanjo234 ok, if you could at least give me a name to search this documentation, it would be nice.
Thanks for keeping it post, Laurie
The editing in this video is amazing, and the content is exactly what I am looking for. Nice Job! I am officially a fan.
Top notch video production quality. Very impressive. We know this took a large amount of time to do well , great job
Very informative too
youtube should recommend more videos like this, great content.
rather detailed but still concise way of explaining thing!👏
Wow! It was a great video. Informative with good production quality. Being noob-friendly, while also showing the exact code with explanation how it works. Thank you!
The editing on this is insane. Semi long time viewer of the channel, looks like I'll be watching this tonight. Great work Laurie :)
16:12 actually for such old farts as i am i could say that we're having opportunity to re-live 70s/80s. Things IT-wise were much straightforward to the point where single person (and i am looking at you Woz) was able to deliver hardware AND software creating complete product. Now times had changed a bit, hardware long time ago passed beyong single person's understanding, but with RISC-V we can at least follow and be up to date with new ISA's additions and HW being released.
blah blah blah. single people can do much more than ever. just because you don't understand new tech doesn't mean it is difficult
@@MrTweetyhack lol, it seems like you don't understand how much technology has advanced in the past years, and how rapidly. If you think that tech in the 70s was as complex as new tech you are dead wrong
@@MrTweetyhackConsidering our infrastructure has to handle Gb being thrown around, through different components and across long distance, in seconds, compared to one device that move Kbs over many seconds, on the same system.... I think computers have gotten more complex than the days of the Apple 1, or Pet.
@@MrTweetyhack this isn't a matter of "understanding" on the level to being able to use it. You can be decent car driver without knowing a single thing about internal combustion engines or how gearwheel sizes affect transmission of torque and speed. But every non-standard usage or modification of said car requires you to have at least basic understanding of inner workings in order to know where to hook and what to change to achieve expected result.
Without deep understanding of a car you'll be as good driver as manufacturer allows you to be. For some of us this simply isn't enough.
dont forget templeOS dev
he singlehandedly make an entire OS and Programing Language himself albeit with some weirdness
Whats the vector Victor?
Always appreciate your fascinating, high-quality videos!
Web dev who accidentally stumbled into this content, and don't regret it. I feel like your summary was informative, and approachable to anyone with interest in RISC-V. I don't think my Raspberry Pi's are going to be banished to the closet just yet but I might just see what kind of janky programming I can get up too with the Canaan K230 versus the Orange Pi 5 I was thinking about picking up. Thank you kindly for what was obviously a lot of work making this video!
I think a different title would be more appropriate for the video. It may be just me but I started the video expecting to learn what is special about RISC-V's implementation of vector instructions (vector length agnosticism) and that is only ⅒ of the video. And during the assembly section, the most important line for vector length agnosticism (vsetvli) is glossed over. The assembly sample also does not make use of t0, which is pretty crucial to understand what makes RISC-V's vector ISA special.
Furthermore, if I understand the docs correctly, the explanation of vector length agnosticism in the video is not really correct. The CPUs do not have flexibly sized vector registers. Rather, they have a way for the processor to pass to the program the number of elements that would fit into its register so that the program can accordingly update the pointer to point at the next region of memory to be processed. This is a cleaner and more general solution to vectors-of-different-sizes problem, but it is important to note that on x86, programs can still read the CPU capabilities at runtime and run different implementations of the same functions for different vector units accordingly. I think for RISC-V the greater advantage of its approach is not backwards or forwards compatibility, it is that the approach allows different processors that are contemporary but on different market segments (and hence have different silicon budgets for vector registers) to run the same code.
Lastly, backwards compatibility is not a big deal for x86 vector instructions. For example, 128-bit vector registers are aliases to the lower halves of the 256-bit registers. Sure, there is wasted potential if the program only supports the smaller-sized vectors, but that is not the inefficiency the analogy in the video would imply. The CPU is not keeping "old trays" around, it can cook just 2 cookies in a 16-cookie tray, if that is what is provided by the baker.
For the case of the program expecting 512-bit registers but the CPU only having 256-bit registers, there are solutions to that too. Zen 4's implementation of AVX-512 uses 256 bit instructions under the hood. The CPU needs to be explicitly designed to have compatibility with larger vectors, but it is beneficial for supporting programs compiled for larger processors with smaller silicon area.
I love your content ❤
Just discovered this channel and the editing and music choice is just brilliant lol. Great presentation of this subject, keep it up.
The increased production quality is appreciated. Valuable info as well! ~
I feel like I'm watching an anime but it's very nerdy
i love how sound like cute vtuber, not like tech ytber
The production value of this is great, the metaphor helps gloss over some of the remedial (for some) content with some great humour while I learned a lot too, keep this up!
Your videos are just amazing ~ your enthusiasm is so infectious!
RISC is good. -Dade Murphy
I swear at the beginning I thought a Kid was speaking XD
I subscribed to this channel when it was having only 13k, I was sure that with this quality content; it is going to blow up very soon. Thanks Laurie, you really did a great job in this video.
Appreciate the story telling and the enough technical detail for me to understand. Awesome, thanks!
RISC-V propaganda! x86-64 will not be defeated-
*Draws 200 W and melts itself*
Me: "Why is this so niche?"
Laurie: "You could say this ISA is...risk-vy"
Me: "....."
Laurie: 😜
Wow this was super interesting! It was amazing to learn about vector instructions, you explained it very well! Exciting to see the future of RISC V being created 😌
Channels like this make me want to keep teaching myself how to code. I appreciate you.
How long have you been in the industry? I get the sense that the only way you could be detached enough from your work to humanize your content would be if you had at least 15 years of experience.
illegal windows 10 skin
This is an incredibly detailed and well made video! Thank you.
One of the best explanations about vector processing, I’ve been looking for a simpler explanation like this since I’m a newbie
This video is so cool. I love the production design/ video editing. soooo awesome!
Really cool! I really wish there were more videos and channels covering hardware and low level programming concepts like this when I was in engineering undergrad, and cover this stuff in an interesting and engaging manner. So much of the content revolved around web dev. Its nice to see more creators get into this as well as embedded systems. I wish there were channels like this then. You do this very well, with great production. Great stuff, subscribed!!
Cool, love your content, love your cookies and i love that i now better understand what's going on With RISC-V.
Thank you so much for the briefing, I highly appreciate.
Wow! What a discovery... Subbed! The quality of this content is just incredible.
This content is pure gold, haven't seen such in years
I haven’t seen such a good content in one video. Great production in every aspect.
Woah! That was sooooo good! I was expecting a basic video where someone voice-overs B-roll, but this is incredible!
Thanks to THIS delivery, I'm now totally interested and invested in RISC-V, this is exactly what I want if I go SBC wise.. I love to fiddle with hardware and software since I had my Sinclair ZX Spectrum ( Yes, I'm that old!) and was following along through the SBC scene in search of that special something. Thank you for clarifying RISC-V Vector Specification to me. Disassembler-Editors and Machine code Compilers,your daddy is back.. 🙂
I love your videos Laurie, this one is on another level.
Perfect timing with me just finishing a saxpy and dgemv implementation for my post-grad arch class. The permutations of different vector instructions is pretty insane. There's an instruction for everything