Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to get which SSE (SSE3/SSE4.1/SSE4.2) is supporting by my CPU on windows using a batch script.

on Ubuntu we can get it using below command and parse it for required string sse4_2 or sse4_1.

RESP=$(head /proc/cpuinfo -n30)
share|improve this question

migrated from programmers.stackexchange.com Apr 30 '13 at 14:37

This question came from our site for professional programmers interested in conceptual questions about software development.

    
This is unlikely going to be possible with a simple batch program but software.intel.com/en-us/articles/… and stackoverflow.com/questions/6121792/… might be useful. The example code will compile by using the GCC compiler. –  Ramhound Apr 30 '13 at 16:38

1 Answer 1

I don't think even WMI exposes this particular bit of information, otherwise what you want could have probably been accomplished using PowerShell (which could have been invoked from a batch file). I guess using third-party programs written using C/Assembly etc. is the only possible solution.

I recommend CHKCPU (CPU Identification Utility). Invoke it using chkcpu32 /v and you'll see output similar to the following:

1
If you want, in your batch file you can pipe the output of the program to find/findstr and check which SSE version string is included.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.