Sign in to follow this  
Unfadable

Enable Enhanced Instruction Set in Visual Studios

Recommended Posts

I'm trying to figure out how to enable SSE optimizations in my program. I thought I saw an option under Code Generation in project settings once, but I don't see it anymore. I've also tried /arch:SSE, but output tells me it's an unknown option. Anyone know? Thanks

Share this post


Link to post
Share on other sites
If you are using the full version of Visual Studio 8, you can go to the properties dialog of the project. Under the Configuration Properties tree element, go to C/C++, then Code Generation. There is a property in there called Enable Enhanced Instruction Set, that should be what you are looking for.

Magius

Share this post


Link to post
Share on other sites
Unfortunately I don't believe VC++ 2002(7.0) supports /arch. I don't have a copy of '02 so I don't know specifically though.

Both 2003 (7.1) and 2005 (8.0) fully support /arch

Share this post


Link to post
Share on other sites
Aww man, really? Dang-it. I must've seen that option at my work computer then.

I have some old SSE code I wrote once to speed up my program. I'm getting back into maintaining it and wanted to see how it compared to what the compiler generates.

Thanks anyways.

Share this post


Link to post
Share on other sites
Well, you can always download the free VS2005 express edition. That uses the same compiler that's in the standard/pro editions and fully supports /arch:* options.

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