News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Instruction set detection, DOS and AVX

Started by Gunther, November 10, 2014, 06:44:16 AM

Previous topic - Next topic

Gunther

Well, that's not a plain 16-bit application, it's a 32-bit protected mode program. I've re-compiled the sources from this thread with gcc and jWasm for DOS. That's the output under FreeDOS running inside VMware Player:
Quote
      Supported Features
      ==================

Vendor String: GenuineIntel
Brand  String: Intel(R)Core(TM)i7-3770CPU@3.40GHz

      Instruction Sets
      ----------------

MMX  SSE  SSE2  SSE3  SSSE3  SSE4.1  SSE4.2

      Supported Special Instructions
      ------------------------------

Conditional Moves
FXSAVE and FXSTOR
XSAVE and XSTOR for processor extended state management.
POPCNT
RDRAND
AES (Advanced Encryption Standard) Instruction Set
16-bit floating-point Conversion Instructions

Please, press enter to end the application ...


Under plain DOS it's not possible to use the AVX instruction set. But the same program running under Windows 7-32 inside a virtual machine (VMware Player) brings that output:

Quote
                Supported Features
                ==================

Vendor String: GenuineIntel
Brand  String: Intel(R)Core(TM)i7-3770CPU@3.40GHz

                Instruction Sets
                ----------------

MMX  SSE  SSE2  SSE3  SSSE3  SSE4.1  SSE4.2  AVX

                Supported Special Instructions
                ------------------------------

Conditional Moves
FXSAVE and FXSTOR
XSAVE and XSTOR for processor extended state management.
POPCNT
RDRAND
AES (Advanced Encryption Standard) Instruction Set
16-bit floating-point Conversion Instructions

Please, press enter to end the application ...


Some test results under other environments would be fine.

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