Advertisement

AVX Programming – Scalar Floating-Point

  • Daniel Kusswurm
Chapter

Abstract

In the previous chapter, you learned about the architecture and computing capabilities of AVX. In this chapter, you’ll learn how to use the AVX instruction set to perform scalar floating-point calculations. The first section includes a couple of sample programs that illustrate basic scalar floating-point arithmetic including addition, subtraction, multiplication, and division. The next section contains code that explains use of the scalar floating-point compare and conversion instructions. This is followed by two examples that demonstrate scalar floating-point operations using arrays and matrices. The final section of this chapter formally describes the Visual C++ calling convention.

Copyright information

© Daniel Kusswurm 2018

Authors and Affiliations

  • Daniel Kusswurm
    • 1
  1. 1.GenevaUSA

Personalised recommendations