Jump to content

Recommended Posts

Posted

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.


Posted

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...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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