Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] SSE problem


Chronological Thread 
  • From: H.Sri-Narayana@cs.ucl.ac.uk
  • To: manta@sci.utah.edu
  • Subject: [Manta] SSE problem
  • Date: 02 Dec 2007 13:29:49 +0000

If I try and compile r1891 I am told the 'SSE instruction set is not enabled.' The full error log is attached. I disabled GCC_SSE and SSE from the ccmake options and build/bin/manta runs ok, although I get a big performance hit. However if I compile r1889 then I can have the SSE flags on.

(Subquestion: How do I easily diff 2 svn versions from terminal? Should I checkout each version separately and then use diff? Or is there some nice in built svn way?)

-HarshaMantaRevision=1891
OS=Ubuntu 7.10
Compiler=gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
CPU=intel core2duo 1.73ghz
GPU=intel mobile 945gm

[ 10%] Building CXX object Core/CMakeFiles/Manta_Core.dir/Math/CheapRNG.o
In file included from /home/harsha/Manta/Core/Math/SSEDefs.h:10,
                 from /home/harsha/Manta/Interface/RayPacket.h:48,
                 from /home/harsha/Manta/Interface/RandomNumberGenerator.h:37,
                 from /home/harsha/Manta/Core/Math/CheapRNG.h:57,
                 from /home/harsha/Manta/Core/Math/CheapRNG.cc:1:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/xmmintrin.h:34:3: error: #error 
"SSE instruction set not enabled"
/home/harsha/Manta/Core/Math/SSEDefs.h:17: error: â€˜__m128’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:18: error: â€˜__m128i’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:67: error: â€˜__m128’ has not been 
declared
/home/harsha/Manta/Core/Math/SSEDefs.h:68: error: â€˜__m128i’ has not been 
declared
/home/harsha/Manta/Core/Math/SSEDefs.h:75: error: â€˜sse_t’ does not name a 
type
/home/harsha/Manta/Core/Math/SSEDefs.h:81: error: â€˜__m128i’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:112: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:113: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:114: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:115: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:116: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:117: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:118: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:119: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:120: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:121: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:122: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:123: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:124: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:125: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:126: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:127: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:131: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:132: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:133: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:135: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:136: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:137: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:138: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:139: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:140: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:141: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:142: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:143: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:144: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:145: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:146: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:147: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:150: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:155: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:164: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:170: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:175: error: â€˜sse_int_t’ does not 
name a type
/home/harsha/Manta/Core/Math/SSEDefs.h:180: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:185: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:191: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:200: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:205: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:211: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:219: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:224: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:232: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:241: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:251: error: expected â€˜,’ or 
‘...’ before â€˜&’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:251: error: ISO C++ forbids 
declaration of â€˜sse_t’ with no type
/home/harsha/Manta/Core/Math/SSEDefs.h: In function â€˜float 
Manta::dot1(int)’:
/home/harsha/Manta/Core/Math/SSEDefs.h:253: error: â€˜sse_t’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:254: error: â€˜d’ was not declared 
in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h: At global scope:
/home/harsha/Manta/Core/Math/SSEDefs.h:257: error: variable or field 
‘normalize’ declared void
/home/harsha/Manta/Core/Math/SSEDefs.h:257: error: â€˜Manta::normalize’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:257: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:257: error: â€˜v’ was not declared 
in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:258: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:263: error: expected â€˜,’ or 
‘...’ before â€˜&’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:263: error: ISO C++ forbids 
declaration of â€˜sse_t’ with no type
/home/harsha/Manta/Core/Math/SSEDefs.h: In function â€˜float 
Manta::sqrLength(int)’:
/home/harsha/Manta/Core/Math/SSEDefs.h:265: error: â€˜a’ was not declared 
in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h: At global scope:
/home/harsha/Manta/Core/Math/SSEDefs.h:268: error: â€˜Manta::length’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:268: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:269: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:276: error: â€˜Manta::min4f’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:276: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:277: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:292: error: â€˜Manta::max4f’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:292: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:293: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:308: error: â€˜Manta::min3f’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:308: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:309: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:326: error: â€˜Manta::max3f’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:326: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:327: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:343: error: 
‘Manta::simd_component’ declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:343: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:343: error: expected 
primary-expression before â€˜int’
/home/harsha/Manta/Core/Math/SSEDefs.h:343: error: initializer expression 
list treated as compound expression
/home/harsha/Manta/Core/Math/SSEDefs.h:344: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:351: error: variable or field 
‘simd_cerr’ declared void
/home/harsha/Manta/Core/Math/SSEDefs.h:351: error: â€˜Manta::simd_cerr’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:351: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:352: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:356: error: â€˜Manta::as_Vec3f’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:356: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:357: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:364: error: â€˜Manta::as_Vector’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:364: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:365: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:372: error: 
‘Manta::count_nonzeros’ declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:372: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:373: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:384: error: â€˜Manta::count_zeros’ 
declared as an â€˜inline’ variable
/home/harsha/Manta/Core/Math/SSEDefs.h:384: error: â€˜sse_t’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/SSEDefs.h:385: error: expected â€˜,’ or 
‘;’ before â€˜{’ token
/home/harsha/Manta/Core/Math/SSEDefs.h:408: error: â€˜__m128’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:417: error: â€˜__m128’ does not name 
a type
/home/harsha/Manta/Core/Math/SSEDefs.h:432: error: â€˜__m128i’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:496: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:574: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:581: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:591: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:598: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:626: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h:645: error: â€˜__m128’ does not 
name a type
/home/harsha/Manta/Interface/RayPacket.h: In member function â€˜void 
Manta::RayPacket::resetHits()’:
/home/harsha/Manta/Interface/RayPacket.h:415: error: â€˜_mm_setzero_ps’ was 
not declared in this scope
/home/harsha/Manta/Interface/RayPacket.h:415: error: â€˜_mm_store_ps’ was 
not declared in this scope
/home/harsha/Manta/Interface/RayPacket.h:417: error: â€˜_mm_set1_ps’ was 
not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h: In member function 
‘virtual void 
Manta::RandomNumberGenerator::nextPacket(Manta::Packet<float>&, 
Manta::RayPacket&)’:
/home/harsha/Manta/Interface/RandomNumberGenerator.h:83: error: â€˜__m128i’ 
was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:83: error: expected 
primary-expression before â€˜)’ token
/home/harsha/Manta/Interface/RandomNumberGenerator.h:83: error: 
‘_mm_load_si128’ was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:83: error: 
‘_mm_srli_epi32’ was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:83: error: 
‘_mm_cvtepi32_ps’ was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:84: error: 
‘_mm_set1_ps’ was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:84: error: 
‘_mm_mul_ps’ was not declared in this scope
/home/harsha/Manta/Interface/RandomNumberGenerator.h:84: error: 
‘_mm_store_ps’ was not declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h: At global scope:
/home/harsha/Manta/Core/Math/CheapRNG.h:76: error: â€˜__m128i’ does not 
name a type
/home/harsha/Manta/Core/Math/CheapRNG.h: In member function â€˜virtual void 
Manta::CheapRNG::seed(unsigned int)’:
/home/harsha/Manta/Core/Math/CheapRNG.h:91: error: â€˜val_sse’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:94: error: â€˜_mm_set_epi32’ was 
not declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h: In member function â€˜virtual void 
Manta::CheapRNG::nextIntPacket(Manta::Packet<unsigned int>&, 
Manta::RayPacket&)’:
/home/harsha/Manta/Core/Math/CheapRNG.h:106: error: â€˜val_sse’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:106: error: â€˜_mm_set_epi32’ was 
not declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:107: error: â€˜_mm_mullo_epi32’ was 
not declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:107: error: â€˜_mm_add_epi32’ was 
not declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:108: error: â€˜__m128i’ was not 
declared in this scope
/home/harsha/Manta/Core/Math/CheapRNG.h:108: error: expected 
primary-expression before â€˜)’ token
/home/harsha/Manta/Core/Math/CheapRNG.h:108: error: â€˜_mm_store_si128’ was 
not declared in this scope
make[2]: *** [Core/CMakeFiles/Manta_Core.dir/Math/CheapRNG.o] Error 1
make[1]: *** [Core/CMakeFiles/Manta_Core.dir/all] Error 2
make: *** [all] Error 2




Archive powered by MHonArc 2.6.16.

Top of page