The MASM Forum

Miscellaneous => 16 bit DOS Programming => Topic started by: Gunther on April 05, 2015, 02:16:08 AM

Title: DOS AVX program
Post by: Gunther on April 05, 2015, 02:16:08 AM
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 (http://masm32.com/board/index.php?topic=4134.msg43831#msg43831) very attentive.

Here is the output without avx.com:
Quote

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:
Quote

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