Compiler generates SSE instructions without /arch:SSE - by Avery Lee

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


2
0
Sign in
to vote
ID 688736 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 9/15/2011 10:39:19 PM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

The new VC11 x86 compiler (11.00.40825.2) from the Windows 8 developer preview generates SSE instructions by default even without /arch:SSE. I didn't see a warning about raised minimum requirements for generated code in the What's New page and this would make /arch:SSE redundant, so this looks like a bug.

Oddly, if I then throw /arch:SSE, the compiler generates x87 code instead.
Sign in to post a comment.
Posted by Yuhong Bao on 7/4/2012 at 10:55 PM
@Randajad: Please open another bug and attach code.
Posted by Randajad on 2/17/2012 at 6:14 AM
/arch:IA32 doesn't work for me. Compiler still generates SSE instructions.
Posted by Microsoft on 9/16/2011 at 12:29 PM
Thanks for reporting this. The default instruction set for code generation using the x86 VC++ 11.0 compiler is SSE2. This will be better documented closer to the release date. If you need to target older architectures you can use /arch:IA32.

thanks,
ian Bearman
VC++ Code Generation and Optimization
Posted by MS-Moderator09 [Feedback Moderator] on 9/16/2011 at 2:35 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 9/15/2011 at 11:43 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)