Quote:
Originally Posted by schweinsz
Oh, VERY bad news for me. Thank you very much. I don't know this limitation ever.
|
The Windows 64-bit API is very weird and you should do some research on it before you start writing assembly code.
You should look at common/x86/x86inc.asm in x264; it contains macros for handling of the three calling conventions (32-bit, 64-bit, win64). Win64 is extremely weird and is completely incompatible with all other 64-bit calling conventions (which use the standard one).
In addition to the callee-save XMM registers, it also has a different general-purpose register calling convention, probably just to annoy people.
And the above is a typo, it's xmm6-xmm15 that are callee-save.