© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
D. KusswurmModern Parallel Programming with C++ and Assembly Languagehttps://doi.org/10.1007/978-1-4842-7918-2_5

5. AVX2 C++ Programming: Part 2

Daniel Kusswurm1  
(1)
Geneva, IL, USA
 

In Chapter 3, you learned how to carry out elementary arithmetic using packed floating-point operands and AVX C++ SIMD intrinsic functions. You also learned how to code simple SIMD functions that performed computations using the elements of a floating-point array or matrix. In this chapter, you will study source code examples that perform floating-point calculations using AVX2 and C++ SIMD intrinsic functions. The first section highlights an array-based algorithm that demonstrates ...

Get Modern Parallel Programming with C++ and Assembly Language: X86 SIMD Development Using AVX, AVX2, and AVX-512 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.