Modern X86 Assembly Language Programming: 32-bit, 64-bit, SSE, and AVX
- Length: 700 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2014-11-25
- ISBN-10: 1484200659
- ISBN-13: 9781484200650
- Sales Rank: #701000 (See Top 100 Books)
Modern X86 Assembly Language Programming shows the fundamentals of x86 assembly language programming. It focuses on the aspects of the x86 instruction set that are most relevant to application software development. The book’s structure and sample code are designed to help the reader quickly understand x86 assembly language programming and the computational capabilities of the x86 platform. Major topics of the book include the following:
- 32-bit core architecture, data types, internal registers, memory addressing modes, and the basic instruction set
- X87 core architecture, register stack, special purpose registers, floating-point encodings, and instruction set
- MMX technology and instruction set
- Streaming SIMD extensions (SSE) and Advanced Vector Extensions (AVX) including internal registers, packed integer arithmetic, packed and scalar floating-point arithmetic, and associated instruction sets
- 64-bit core architecture, data types, internal registers, memory addressing modes, and the basic instruction set
- 64-bit extensions to SSE and AVX technologies
- X86 assembly language optimization strategies and techniques
What youll learn
- How to use the x86’s 32-bit and 64-bit instruction sets to create performance-enhancing functions that are callable from a high-level language (C++)
- How to use x86 assembly language to efficiently manipulate common programming constructs including integers, floating-point values, text strings, arrays, and structures
- How to use the SSE and AVX extensions to significantly accelerate the performance of computationally-intensive algorithms and subroutines in problem domains such as image processing, computer graphics, mathematics, and statistics
- How to use various coding strategies and techniques to optimally exploit the x86’s microarchitecture for maximum possible performance
Who this book is for
The target audience for Modern X86 Assembly Language Programming is software developers including:
- Software developers who are creating application programs for Windows-based platforms and want to learn how to write performance-enhancing algorithms and functions using x86 assembly language
- Software developers who are creating application programs for non-Windows environments and want to learn x86 assembly language programming
- Software developers who have a basic understanding of x86 assembly language programming and want to learn how to use SSE and AVX
- Software developers and computer science students who want or need to gain a better understanding of the x86 platform including its internal architecture and instruction sets
The primary audience for the book is Windows software developers since the sample code will be created using Visual C++ and Microsoft Macro Assembler. Developers targeting non- Windows platforms, however, also can learn from the book since most of the content will be organized and communicated independent of any specific operating system. In order to understand the book’s subject material, a background that includes some programming experience using C or C++ will be helpful. Experience with or knowledge of a particular Windows API will not be a prerequisite to benefit from the book.
Table of Contents
Chapter 1: X86-32 Core Architecture
Chapter 2: X86-32 Core Architecture Programming
Chapter 3: X87 Floating Point Unit
Chapter 4: X87 Floating Point Unit Programming
Chapter 5: MMX Technology
Chapter 6: MMX Programming
Chapter 7: Streaming SIMD Extensions (SSE)
Chapter 8: X86-SSE Programming – Scalar Floating-Point
Chapter 9: X86-SSE Programming – Packed Floating-Point
Chapter 10: X86-SSE Programming – Packed Integers
Chapter 11: X86-SSE Programming – Text Strings
Chapter 12: Advanced Vector Extensions (AVX)
Chapter 13: X86-AVX Programming – Scalar Floating-Point
Chapter 14: X86-AVX Programming – Packed Floating-Point
Chapter 15: X86-AVX Programming – Packed Integers
Chapter 16: X86-AVX Programming – New Instructions
Chapter 17: X86-64 Core Architecture
Chapter 18: X86-64 Core Architecture Programming
Chapter 19: X86-64 SIMD Architecture
Chapter 20: X86-64 SIMD Programming
Chapter 21: Advanced Topics and Optimization Techniques
Chapter 22: Advanced Topics Programming