| 12345678910111213141516171819 | 
							- #include <immintrin.h>
 
- #include <stdio.h>
 
- #include "pal.h"
 
- #include "pal_debug.h"
 
- int main() {
 
-     /* Initialize the two argument vectors */
 
-     __m256 evens = _mm256_set_ps(2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0, 16.0);
 
-     __m256 odds  = _mm256_set_ps(1.0, 3.0, 5.0, 7.0, 9.0, 11.0, 13.0, 15.0);
 
-     /* Compute the difference between the two vectors */
 
-     __m256 result = _mm256_sub_ps(evens, odds);
 
-     /* Display the elements of the result vector */
 
-     pal_printf("Result: %d %d %d %d %d %d %d %d\n", (int)result[0], (int)result[1], (int)result[2],
 
-                (int)result[3], (int)result[4], (int)result[5], (int)result[6], (int)result[7]);
 
-     return 1;
 
- }
 
 
  |