Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22148

How to test if your Linux Support SSE2

$
0
0

Actually I have 2 questions:

  1. Is SSE2 Compatibility a CPU issue or Compiler issue?
  2. 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

Viewing all articles
Browse latest Browse all 22148

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>