Click here to Skip to main content
15,887,361 members
Articles / Programming Languages / VC++

Using SIMD to Optimize x86 Assembly Code in Array Sum Example

Rate me:
Please Sign up or sign in to vote.
4.83/5 (5 votes)
26 Mar 2021CPOL14 min read 16.8K   102   7  
A discussion on optimization using SIMD instructions including MMX, SSE, and AVX in x86 Assembly Language Programming
In this article, I simply focus on an example of array sum to show how to use some modern instructions to do optimization with MMX, SSE, and AVX in x86 Assembly language on MASM platform. I create a benchmark test by comparing four implementations between a traditional way and three SIMD methods with significant results of time measurement.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions