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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...