Displaying 2 results from an estimated 2 matches for "unprototyped".
Did you mean:
prototyped
2009 Dec 04
0
[LLVMdev] Win64 Calling Convention problem
...ion" though for win64 - __m128 vectors. This
> was done since they are
> native types and thus do not get changed by type legalizer. I have no
> idea why MS decided not to
> pass then in registers... This is silly...
Hmm, maybe I can explain this: The Microsoft docs state that for
unprototyped functions floating-point values need to be passed as
double precision in both the floating-point registers (XMMn) and the
integer registers (RCX, etc.). That obviously doesn't work for SSE
vectors because they don't fit into the integer registers. So, there's
only pass-by-reference of t...
2009 Dec 04
2
[LLVMdev] Win64 Calling Convention problem
Hello, Stephan
> I didn't know about exceptions like _Complex that you mentioned. The
> only way to support them is to place the burden of correct parameter
> passing on the front-end, I understand that now.
Right. Especially when ABI dictates quite "weird" rules (read e.g.
x86-64 ABI or ARM EABI).
We do support one "exception" though for win64 - __m128 vectors.