How to optimize for x86 32-bit on Sandy Bridge processor ?

Hi all,

I would like to know what are the options to use with 3.3rc1 llc/opt to 32-bit (NOT 64-bit) code on a Sandy Bridge processor ?

I’ve defined a datalayout that use a 32-bit as pointer size and I’m passing –march=x86 to llc, is it enough ?

I’m not using CLANG as front-end.

Thanks for your answer

Seb

-march=x86 -mcpu=corei7-avx