Solved

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

Posted on 2009-04-15
2
2,237 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
2 Comments
 
LVL 53

Accepted Solution

by:
Infinity08 earned 100 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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