Abstract
In the previous three chapters, you studied core x86-64 assembly language topics including integer arithmetic, bitwise logical operations, memory addressing modes, condition codes, and elementary programming constructs. You also learned essential details regarding assembly language source code semantics and syntax. In this chapter, you’ll discover how to use the AVX instruction set to perform scalar floating-point calculations. The first section encompasses three source code examples that illustrate fundamental scalar floating-point arithmetic operations including addition, subtraction, multiplication, and division. In the next section, you’ll study AVX scalar floating-point comparison and conversion instructions. The final section contains code that demonstrates operations using floating-point arrays.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The IEEE 754-2008 standard uses the expression subnormal instead of denormal. This text utilizes denormal since this term is still used in the AMD and Intel programming reference manuals.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Kusswurm, D. (2023). AVX Programming – Scalar Floating-Point. In: Modern X86 Assembly Language Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9603-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-9603-5_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-9602-8
Online ISBN: 978-1-4842-9603-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books