General > The Laboratory
Test Results for feature detection required
Gunther:
The archive cpu.zip contains 3 files:
cpu.asm (assembly language source), cpu.exe (the running 64 bit console application) and build_cpu.bat (builds the application).
The output of the program depends on the machine it is running on. It outputs a few information about the processor. This is the result on my Windows 10 computer:
--- Code: ---CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i7-7820XCPU@3.60GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 AVX-512 F
It's safe to use the following AVX-512 extensions with this machine:
--------------------------------------------------------------------
AVX-512 DQ : Vector Double Word and Quad Word
AVX-512 CD : Efficient conflict detection to allow more loops to be vectorized.
AVX-512 BW : Extends AVX-512 to cover 8-bit and 16-bit integer operations.
AVX-512 VL : Extends most AVX-512 operations to also operate on XMM and YMM registers.
Any processor that implements any portion of the AVX-512 extensions MUST implement AVX-512 F.
Not every architecture has all the instruction sets built in. We've for example:
Knights Landing : CD ER PF
Knights Mill : CD ER PF 4FMAPS 4VNNIW VPOPCNTDQ
Skylake : CD VL DQ BW
Cannon Lake : CD VL DQ BW IFMA VBMI
Cascade Lake : CD VL DQ BW VNNI
Ice Lake : CD VL DQ BW IFMA VBMI VBMI2 VPOPCNTDQ BITALG VNNI VPCLMULQDQ GFNI VAES
Tiger Lake : CD VL DQ BW IFMA VBMI VBMI2 VPOPCNTDQ BITALG VNNI VPCLMULQDQ GFNI VAES VP2INTERSECT
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
--- End code ---
The program is started normally with cpu or cpu.exe from the command line. Since quite a lot may be displayed, you have to scroll a bit to be able to read everything. Alternatively, you can launch the application in full-screen mode.
The third variant is to use a pipe, something like this:
--- Code: ---cpu.exe>cpu.txt
--- End code ---
With other processors, a different output will naturally result. I don't want to be nosy, but results from other forum members would be helpful. Thanks in advance.
Gunther
hutch--:
This is my result. The only difference from the result is that I have the 5820k clocked at 4 gig.
CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i7-5820KCPU@3.30GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
FORTRANS:
Hi,
Two laptops.
--- Code: ---CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i3-4005UCPU@1.70GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i3-10110UCPU@2.10GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
--- End code ---
Regards,
Steve N.
mineiro:
wine cpu.exe
--- Code: ---CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i7-6700CPU@3.40GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
SMX : Safer Mode Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
--- End code ---
six_L:
--- Quote ---CPU strings:
------------
Processor Vendor String: GenuineIntel
Processor Brand String: Intel(R)Core(TM)i5-9400HCPU@2.50GHz
Features by Processor and Operating System:
-------------------------------------------
Supported Instruction Sets: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
Your CPU supports the following additional instructions and features:
---------------------------------------------------------------------
RDRAND : Returning random numbers from an on-chip hardware random number generator.
AESNI : Advanced Encryption Standard Instruction Set
VMX : Virtual Machine Extensions
SMX : Safer Mode Extensions
FPU : Floating Point Unit on chip
VME : Virtual 8086 Mode Enhancements
DE : Debugging Extensions. Support for I/O breakpoints.
PSE : Page Size Extension
TSC : Time Stamp Counter. The RDTSC instruction is supported.
MSR : Model Specific Registers RDMSR and WRMSR Instructions.
PAE : Physical Address Extension
CX8 : CMPXCHG8B instruction (compare-and-exchange 8 bytes) is supported.
APIC : The processor contains an Advanced Programmable Interrupt Controller (APIC) on board.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version