Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Patching and EXE 3 1,023
Cascading assemblies in .net libraries 4 357
Why thread specific data got introduced? 7 351
What does this assembly code do 4 447
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

831 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