i would like to verify what the highest optimisation level is that compiling with -xHOST uses (icc 11).
is there any way to check this?
i'm asking because i'm building code on SL5.2 (which is a RHEL5 clone) and /proc/cpuinfo doesn't display (i think) all sse cpabilities. the cpu i'm running on is a xeon L5420 (which should support up to SSE4.1). flags reported are "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm".
although i'm quite sure that icc doesn't rely on whatever the OS thinks the cpu is capable of, i'd like to verifiy this ;)