Text archives Help
- 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
- [Manta] SSE problem, H . Sri-Narayana, 12/02/2007
Archive powered by MHonArc 2.6.16.