I've attached the file
acopy.zip. It contains all sources for
acopy.exe, a simple copy program, which uses AVX instructions. The main procedure is written in C and compiled with the gcc for DOS (producing a 32-bit Protected Mode application). The dirty work make the assembly language procedures (written for YASM, because it's DOS version is up to date).
For more background information, you should read that
thread very attentive.
Here is the output without
avx.com:
AVX support not available:
==========================
X[0] = 1.00 Y[0] = 1.00
X[1] = 2.00 Y[1] = 2.00
X[2] = 3.00 Y[2] = 3.00
X[3] = 4.00 Y[3] = 4.00
Please, press enter to end the application ...
The following output appears after launching
avx.com:
AVX support available:
======================
X[0] = 1.00 Y[0] = 1.00 Z[0] = 1.00
X[1] = 2.00 Y[1] = 2.00 Z[1] = 2.00
X[2] = 3.00 Y[2] = 3.00 Z[2] = 3.00
X[3] = 4.00 Y[3] = 4.00 Z[3] = 4.00
Please, press enter to end the application ...
Gunther