News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

DOS AVX program

Started by Gunther, April 05, 2015, 02:16:08 AM

Previous topic - Next topic

Gunther

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:
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
You have to know the facts before you can distort them.