- changed status to resolved
- removed comment
Unable to compile Vectors with REAL_PRECISION = 4
When I try to compile the Vectors thorn with the REAL_PRECISION = 4 option, I get lots of errors when compiling test.cc:
test.cc: In function 'void Vectors_Test(cGH*)': test.cc:130:28: error: 'vec4_store' was not declared in this scope test.cc:132:32: error: 'vec4_store_nta' was not declared in this scope test.cc:144:46: error: 'vec4_store_partial_prepare' was not declared in this scope test.cc:145:39: error: 'vec4_store_nta_partial' was not declared in this scope test.cc:158:14: error: assignment of read-only location '* & p' test.cc:158:14: error: '_mm_storel_ps' was not declared in this scope test.cc:158:14: error: assignment of read-only location '*((& p) + 8u)' test.cc:163:14: error: assignment of read-only location '*((& p) + 12u)' test.cc:163:14: error: '_mm_storeh_ps' was not declared in this scope test.cc:163:14: error: assignment of read-only location '*((& p) + 4u)' test.cc:169:58: error: 'vec4_store_nta_partial_mid' was not declared in this scope test.cc:188:3: error: 'k4cos' was not declared in this scope test.cc:196:3: error: 'k4sin' was not declared in this scope test.cc:198:3: error: 'k4tan' was not declared in this scope test.cc:200:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:202:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:204:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:205:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:207:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:209:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:211:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)' test.cc:212:3: error: cannot convert 'const m128 {aka const vector(4) float}' to 'm128i {aka vector(2) long long int}' for argument '1' to 'm128i _mm_srai_epi32(m128i, int)'
These are mostly a result of missing definitions in vectors-4-SSE.h which should be added.
Keyword:
Comments (1)
-
- Log in to comment
Implemented missing functionality Corrected some code Added tolerance to test cases.