Jump to content

Check assembly optimisations used


Recommended Posts

Hi!

I have to deal with a lot of C and C++ DLLs and executables on a daily basis, and I would like to know whether there is a way to know which assembly optimisations have been used by the compiler or not. I would like to know whether a program uses SSE, SSE2, SSE3, SSE4, AVX or other assembly optimisations (i.e which instructions sets are required). This way I will be able to know whether I need to recompile a certain program or not (depending on the platform). 

Thank you in advance.

Link to comment
Share on other sites


No. The only way to do it reliably would be by interpreting the executable, and that amounts to machine-disassembling [ca. 100% correctly] and then machine-interpreting the resulting code. It can be done by hand, of course, since the start of time... but automagically? no, not yet, and don't hold your breath waiting for it, either...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...