If I use AVX instructions in my assembly function I can built and I can run it on a Sandy Bridge based processor which will be launching in the marker in2010. My question is , is it possible for me to build the sameassembly codewithout any change to run on an existing corei7 architecture processor?(may be by using any assembler switch?). The reason for this question is, I don't want to have a performance compramise whenI move from corei7 to Sandy Bridge, and at the same time I don't want to put additional effort to build two variance, one for corei7 and another for Sandy Bridge. Thanks in advance.
For more complete information about compiler optimizations, see our Optimization Notice.