Previous | Next --- Slide 45 of 56
Back to Lecture Thumbnails
neonachronism

How would a program like this be computed with SIMD instructions?

Does x86 have vector instructions that operate conditionally on an element-level of granularity?

adilets

I believe it was covered in the previous lecture here: http://15418.courses.cs.cmu.edu/fall2016/lecture/basicarch/slide_033

neonachronism

That was an microarchitecture and C level view; I was asking about an ISA level view.

tcm

AVX uses "masks" to implement the conditional (aka predicated) execution that was illustrated on slide 33 of lecture 2. If you search for "intel avx masks", you can find various sources that talk about this some more.