Skip to main content

Topic: Does WavPack support x64 platforms? (Read 7221 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • siyi
  • [*]
Does WavPack support x64 platforms?
visual studio 2008, vista 64. no success.

Or do I have to tweak the source code?

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
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

  • viktor
  • [*][*][*][*]
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
  • Last Edit: 14 August, 2008, 08:56:08 AM by viktor

  • rjamorim
  • [*][*][*][*][*]
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.
Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org

  • vpa
  • [*][*]
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

  • Case
  • [*][*][*][*][*]
  • Developer (Donating)
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.

  • bryant
  • [*][*][*][*][*]
  • Developer (Donating)
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. 

  • twistedddx
  • [*]
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."
  • Last Edit: 06 September, 2008, 11:11:18 AM by twistedddx