IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Does WavPack support x64 platforms?, try to compile it on vista 64, failed
siyi
post Aug 13 2008, 18:35
Post #1





Group: Members
Posts: 3
Joined: 12-August 08
Member No.: 56982



visual studio 2008, vista 64. no success.

Or do I have to tweak the source code?
Go to the top of the page
+Quote Post
bryant
post Aug 14 2008, 13:20
Post #2


WavPack Developer


Group: Developer (Donating)
Posts: 1291
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



QUOTE (siyi @ Aug 13 2008, 10:35) *
visual studio 2008, vista 64. no success.

Or do I have to tweak the source code?

It certainly is the intention that it work. I went through the process of getting to compile and run correctly on 64-bit at one point, but something may have drifted since then.

I am not set up to do this myself, so if you (or someone) could post a patch, or at least let me know what the errors are, I would certainly appreciate it! smile.gif

Thanks for letting me know.

David
Go to the top of the page
+Quote Post
viktor
post Aug 14 2008, 13:54
Post #3





Group: Members
Posts: 297
Joined: 17-November 06
Member No.: 37682



man, vs is simply _buggy_ on vista 64. believe me, we've had ms student week and so on, and what worked flawlessly on xp32, failed on vista 64 bit. even 32 bit vista caused problems with asp.net projects. and that's only what we've tried, who knows what else is broken...

yeah, there may be a solution for every failure. but you know, why would i spend hours on fixing these problems if it works on xp out of box

in the next few days i'll try to get some free time and will try to compile a 64 bit build on xp or vista 32 bit (i don't have 64 bit windows installs at hand, and the reason is exactly what i mentioned earlier). i will let you know about the result, but i can't promise anything smile.gif

This post has been edited by viktor: Aug 14 2008, 13:56
Go to the top of the page
+Quote Post
rjamorim
post Aug 14 2008, 17:33
Post #4


Rarewares admin


Group: Members
Posts: 7515
Joined: 30-September 01
From: Brazil
Member No.: 81



I got it to compile and work fine at 64 bits on a Sun Ultra 5. Couldn't detect any performance difference though, so I wonder if it's worth the hassle.


--------------------
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org
Go to the top of the page
+Quote Post
vpa
post Aug 14 2008, 17:48
Post #5





Group: Members
Posts: 99
Joined: 13-April 08
Member No.: 52748



QUOTE (rjamorim @ Aug 14 2008, 18:33) *
I got it to compile and work fine at 64 bits on a Sun Ultra 5. Couldn't detect any performance difference though, so I wonder if it's worth the hassle.

Same with 64bits on a iMac G5: It's even a slightly bit slower than the 32bit version.


--------------------
WavPack 4.50.1 -hhx6 | LAME 3.98.2 -V 0
Go to the top of the page
+Quote Post
Case
post Aug 14 2008, 20:32
Post #6





Group: Developer (Donating)
Posts: 2206
Joined: 19-October 01
From: Finland
Member No.: 322



It seems MMX functions need some work for x64 compatibility. You can compile the sources as they are by removing OPT_MMX definition from libwavpack and libwavpackdll projects.
Go to the top of the page
+Quote Post
bryant
post Aug 15 2008, 05:48
Post #7


WavPack Developer


Group: Developer (Donating)
Posts: 1291
Joined: 3-January 02
From: San Francisco CA
Member No.: 900



Okay, thanks for the comments.

It's funny, because I thought one of the advantages of using intrinsics was that they were portable to 64-bit architecture whereas assembly language was not. Apparently this is just a Visual Studio thing because I know the intrinsics work fine on 64-bit Linux.

Anyway, eliminating OPT_MMX is an easy solution for now. smile.gif
Go to the top of the page
+Quote Post
twistedddx
post Sep 6 2008, 15:38
Post #8





Group: Members
Posts: 37
Joined: 27-October 05
Member No.: 25383



intrinsics are supporting in visual studio 2008 for x64 to some degree.

Looks like your issue is __m64:
http://msdn.microsoft.com/en-us/library/08x3t697.aspx
"The __m64 data type is not supported on x64 processors. Applications that use __m64 as part of MMX intrinsics must be rewritten to use equivalent SSE and SSE2 intrinsics."

This post has been edited by twistedddx: Sep 6 2008, 16:11
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st August 2014 - 02:12