Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2314
  • Last Modified:

SSE instruction is not enable #include <xmmintrin.h>

Dear experts,

i am trying to write an assembly for SSE SIMD. But to make it simple, i am using this library
xmmintrin.h

however upon adding the include file
#include <xmmintrin.h>

then the compilation will complain as follow
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/xmmintrin.h:34:3: #error "SSE instruction set not enabled"

how to enable SSE instruction here?

Thanks!
0
isuhendro
Asked:
isuhendro
1 Solution
 
Infinity08Commented:
Try passing the -msse flag to the compilation command.
0
 
isuhendroAuthor Commented:
Thanks Infinity08!!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now