Solved

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

Posted on 2009-04-15
2
2,234 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 7, Delphi Code, Drawcolumn ERROR 13 405
Problems and Best Bios settings for i5 2500K on a Asus P8P67-M Motherboard 74 1,025
MIPS Assembly Language 1 816
memory mapped I/O query 6 142
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Fine Tune your automatic Updates for Ubuntu / Debian
A short film showing how OnPage and Connectwise integration works.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now