摘要
本文讨论一些优化X86汇编语言代码的简单编程技巧。建议把这些技巧应用在运行于Intel最新微架构(包括Haswell、Sandy Bridge和Nehalem)代码中。大多数技巧同样适用于更早的微架构。可以把优化技巧和辅助性的指导方针分为五大类:基本优化、浮点算术、程序分支、数据对齐、SIMD技巧。
This article discusses some simple programming techniques for optimizing X86 assembly language code. It is recommended that these techniques be applied to code running in the latest Intel micro architectures (including Haswell, Sandy, Bridge, and Nehalem). Most techniques apply equally well to earlier architectures. Tuning and assistive guidelines can be divided into five broad categories: basic optimization, floating point arithmetic, program branching, data alignment, and SIMD techniques.
出处
《电子测试》
2017年第5X期73-74,63,共3页
Electronic Test
关键词
基本优化
浮点算术
程序分支
数据对齐
SIMD技巧
basic optimizations
floating-point arithmetic
program branches
data alignment
SIMD techniques