aligned_load_store.c (156B)
1 #include <x86intrin.h> 2 void f(float *a, float *b) 3 { 4 __m128 r0 = _mm_load_ps(a); 5 r0 = _mm_add_ps(r0, _mm_load_ps(a + 4)); 6 _mm_store_ps(b, r0); 7 }
cs205-lecture-examplesExample codes used during Harvard CS205 lectures | |
| git clone https://git.0xfab.ch/cs205-lecture-examples.git | |
| Log | Files | Refs | README | LICENSE |