... | ... | @@ -151,4 +151,4 @@ cf PROC ; COMDAT |
|
|
movss xmm2, DWORD PTR x$[rsp+4]
|
|
|
movss xmm1, DWORD PTR x$[rsp]
|
|
|
```
|
|
|
So in the `zf` (`double complex`) case, it reads the two doubles from `[rcx]` and `[rcx+8]`. So the `f({double, double}*)` calling convention. In the `cf` (`float complex`) case, it puts `rcx` to `[rsp]` and then reads the two numbers as `[rsp]` and `[rsp+4]`, so `rcx` contained both floats as a single `i64`. So the ``f(i64)` calling convention. |
|
|
\ No newline at end of file |
|
|
So in the `zf` (`double complex`) case, it reads the two doubles from `[rcx]` and `[rcx+8]`. So the `f({double, double}*)` calling convention. In the `cf` (`float complex`) case, it puts `rcx` to `[rsp]` and then reads the two numbers as `[rsp]` and `[rsp+4]`, so `rcx` contained both floats as a single `i64`. So the `f(i64)` calling convention. |
|
|
\ No newline at end of file |