Ref #65. Fixed 64-bit Windows calling convention bug in cdot and zdot.
authortraits <traits.zhang@gmail.com>
Tue, 18 Oct 2011 02:23:17 +0000 (10:23 +0800)
committertraits <traits.zhang@gmail.com>
Tue, 18 Oct 2011 02:23:17 +0000 (10:23 +0800)
commitc852ce398109e12f9b18871102295f29eecb1f1b
tree7a846da6e50858e2e09680b2c394fb4329f44ddb
parentba31b19c00550673410250f6b33aa70f7a4fa400
Ref #65. Fixed 64-bit Windows calling convention bug in cdot and zdot.

According to 64-bit Windows calling convention, the return value is in %rax instead of %xmm0 in cdot kernel.
In zdot, the caller allocates a memory space for return value and sets this memory address to the first hidden parameter. Thus, the callee (zdot) should assign the result to this memory space and return the memory address in %rax.
kernel/x86_64/zdot_sse.S
kernel/x86_64/zdot_sse2.S