Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
FranceBB

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.

Share this post


Link to post
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...

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×