FranceBB Posted December 14, 2016 Share Posted December 14, 2016 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 More sharing options...
dencorso Posted December 14, 2016 Share Posted December 14, 2016 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 More sharing options...
FranceBB Posted December 14, 2016 Author Share Posted December 14, 2016 Got it. Thank you anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now