Actually I have 2 questions:
- Is SSE2 Compatibility a CPU issue or Compiler issue?
- How to check if your CPU or Compiler support SSE2?
I am using GCC Version:
gcc (GCC) 4.5.1
When I tried to compile a code it give me this error:
$ gcc -O3 -msse2 -fno-strict-aliasing -DHAVE_SSE2=1 -DMEXP=19937 -o test-sse2-M19937 test.ccc1: error: unrecognized command line option "-msse2"
And cpuinfo
showed this:
processor : 0vendor : GenuineIntelarch : IA-64family : 32model : 1model name : Dual-Core Intel(R) Itanium(R) Processor 9140Mrevision : 1archrev : 0features : branchlong, 16-byte atomic opscpu number : 0cpu regs : 4cpu MHz : 1669.000503itc MHz : 416.875000BogoMIPS : 3325.95siblings : 2physical id: 0core id : 0thread id : 0