Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Does WavPack support x64 platforms? (Read 8742 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Does WavPack support x64 platforms?

visual studio 2008, vista 64. no success.

Or do I have to tweak the source code?

 

Does WavPack support x64 platforms?

Reply #1
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! 

Thanks for letting me know.

David

Does WavPack support x64 platforms?

Reply #2
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

Does WavPack support x64 platforms?

Reply #3
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.

Does WavPack support x64 platforms?

Reply #4
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

Does WavPack support x64 platforms?

Reply #5
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.

Does WavPack support x64 platforms?

Reply #6
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. 

Does WavPack support x64 platforms?

Reply #7
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."