News:

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

Main Menu

Usage of AVX in 32 bit code

Started by Gunther, November 26, 2012, 05:14:35 AM

Previous topic - Next topic

Gunther

I've Windows XP mode as an VM installed on my Win7. It works well. But there is one problem. By testing the support of the AVX instructions, such an easy instruction like:

        vmovaps    ymm0, [ecx]

is generating a GPF. The data array is aligned by 32, so what could be the reason? Any ideas?

Gunther
You have to know the facts before you can distort them.

qWord

Windows XP does not support AVX instructions. Also, it seems that Virtual PC only supports up to SSE2.
MREAL macros - when you need floating point arithmetic while assembling!

Gunther

Quote from: qWord on November 26, 2012, 05:35:22 AM
Windows XP does not support AVX instructions. Also, it seems that Virtual PC only supports up to SSE2.

That could be the reason. Is there a better alternative?

Gunther
You have to know the facts before you can distort them.

dedndave

1) don't use AVX instructions
or
2) use an environment  that supports them

:biggrin:

Gunther

Dave,

Quote from: dedndave on November 26, 2012, 06:09:39 AM
1) don't use AVX instructions
or
2) use an environment  that supports them

:biggrin:

Good proposal.

Gunther
You have to know the facts before you can distort them.