[x264-devel] Windows x64 support

Loren Merritt lorenm at u.washington.edu
Sun Jan 18 22:33:10 CET 2009


On Sun, 18 Jan 2009, BugMaster wrote:
> On Sat, 17 Jan 2009 21:52:24 +0000 (UTC), Loren Merritt wrote:
>> On Sat, 17 Jan 2009, BugMaster wrote:
>
>>> Loren, can you tell me for what "xor  eax, eax" is used before "call
>>> printf" in 32 bit version of x264_checkasm_call. May be I can remove
>>> "xor  eax, eax" from both 32 bit and 64 bit versions?
>
>> Number of optional arguments for the varargs calling convention.
>> If you don't feel like looking up varargs for win64, you can change it 
>> to a simpler function.
>
> Thanks. As understand from this:
> http://mingw-w64.wiki.sourceforge.net/MinGW+x64+Software+convention
> http://msdn.microsoft.com/en-us/library/dd2wa36c(VS.80).aspx
> Windows x64 calling convention doesn't need this.
> Also I coundn't find where it is writen for x86 (can you give me a
> link? Or it is undocumented feature?).

Dunno. It's standard enough that it has to be documented somewhere, but my 
google-fu is failing.

--Loren Merritt


More information about the x264-devel mailing list