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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Daniel Kusswurm
About this chapter
Cite this chapter
Kusswurm, D. (2018). AVX Programming – Scalar Floating-Point. In: Modern X86 Assembly Language Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4063-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-4063-2_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-4062-5
Online ISBN: 978-1-4842-4063-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books