coreLibrary 300 Compile Error Win

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

coreLibrary 300 Compile Error Win

Postby c000507 » Fri Jan 27, 2012 8:12 pm

Hi

I am having an issue compiling the 300 version. I got both versions as of 28/01/2012 and tried compiling both. The 200 version compiles fine, but the 300 version has these errors.

Code: Select all
1>d:\programming\newton\newton-dynamics-read-only\corelibrary_300\source\core\dgAVX_Instrutions.h(534) : error C2143: syntax error : missing ';' before '.'


and this error

Code: Select all
1>d:\programming\newton\newton-dynamics-read-only\corelibrary_300\source\core\dgAVX_Instrutions.h(540) : error C2039: 'm_high' : is not a member of 'simd_128'


It continues for about 20 errors basically saying the same thing. I am running Windows Xp SP3 with vs2008, Core 2 Duo 1.8GHZ and 4gb ram. If you need any other information, please ask.
If anyone could give me some assistance it would be appreciated :)
c000507
 
Posts: 2
Joined: Fri Jan 27, 2012 7:58 pm

Re: coreLibrary 300 Compile Error Win

Postby Julio Jerez » Fri Jan 27, 2012 8:17 pm

oh yes, I was working on the AVX path and I forget to update the emulation mode for system without AVX.
I will fix tonight.
there in a clas sthe emulate the code with x87 code, tah way I do not have to have any #ifdef in the code.
I will upload the fix tonight. Ther AVX will kick ass. :mrgreen:
Thanks for the report.
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: coreLibrary 300 Compile Error Win

Postby c000507 » Fri Jan 27, 2012 8:24 pm

No Problems.

Just out of interest, how much do you think this will increase the performance of Newton (or has already)? Sad that my computer does not support them, looks like another reason to upgrade my computer :)
c000507
 
Posts: 2
Joined: Fri Jan 27, 2012 7:58 pm

Re: coreLibrary 300 Compile Error Win

Postby Julio Jerez » Sat Jan 28, 2012 7:55 am

ok if you sync to svn, I added the x87 avx emulation callls. it soudl be all fine now
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: coreLibrary 300 Compile Error Win

Postby Julio Jerez » Sat Jan 28, 2012 4:58 pm

upp there is still anothe crash bug.

it is in theoi contructor
Code: Select all
      DG_INLINE simd_avx (const simd_128& low, const simd_128& high)
         :m_type (_mm256_insertf128_ps(_mm256_insertf128_ps(m_type, high.m_type, 1), low.m_type, 0))
      {
      }


I cna no call avx function from teh c++ start up code to inilize global const
this is the solution if you sync, but I will fix it tonight

Code: Select all
DG_INLINE simd_avx (const simd_128& low, const simd_128& high)
//         :m_type (_mm256_insertf128_ps(_mm256_insertf128_ps(m_type, high.m_type, 1), low.m_type, 0))
      {
      simd_128* const ptr = (simd_128*) &m_type;
      ptr[0] = low;
      ptr[1] = high;
      }
Julio Jerez
Moderator
Moderator
 
Posts: 12452
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 47 guests