?
Solved

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

Posted on 2009-04-15
2
Medium Priority
?
2,264 Views
Last Modified: 2012-05-06
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
Comment
Question by:isuhendro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Infinity08 earned 300 total points
ID: 24258675
Try passing the -msse flag to the compilation command.
0
 

Author Closing Comment

by:isuhendro
ID: 31570309
Thanks Infinity08!!
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Check out the latest tech news, community articles, and expert highlights in August's newsletter.
The top devops trends for 2017 are focused on improved deployment frequency, decreased lead time for change and decreased MTTR.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question