© 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_2

2. AVX C++ Programming: Part 1

Daniel Kusswurm1  
(1)
Geneva, IL, USA
 

The previous chapter explained SIMD fundamentals including packed types, arithmetic calculations, and data manipulation operations. It also highlighted a few details regarding the history of x86-AVX and its computational capabilities. The focus of this chapter is AVX integer arithmetic using 128-bit wide operands. The first section contains several concise source code examples that illustrate how to use C++ SIMD intrinsic functions to perform packed integer arithmetic. This followed ...

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.