Mercurial > pub > dyncall > dyncall
comparison doc/manual/manual_cc.tex @ 0:3e629dc19168
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:24:28 +0100 |
parents | |
children | 8326c5ced916 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e629dc19168 |
---|---|
1 %////////////////////////////////////////////////////////////////////////////// | |
2 % | |
3 % Copyright (c) 2007,2009 Daniel Adler <dadler@uni-goettingen.de>, | |
4 % Tassilo Philipp <tphilipp@potion-studios.com> | |
5 % | |
6 % Permission to use, copy, modify, and distribute this software for any | |
7 % purpose with or without fee is hereby granted, provided that the above | |
8 % copyright notice and this permission notice appear in all copies. | |
9 % | |
10 % THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
11 % WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
12 % MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
13 % ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
14 % WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
15 % ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
16 % OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
17 % | |
18 %////////////////////////////////////////////////////////////////////////////// | |
19 | |
20 \newpage | |
21 | |
22 % ================================================== | |
23 % Calling Conventions | |
24 % ================================================== | |
25 | |
26 \section{Calling Conventions} | |
27 | |
28 \paragraph{Before we go any further\ldots} | |
29 | |
30 It is important to understand that this section isn't a general | |
31 purpose description of the present calling conventions. | |
32 It merely explains the calling conventions {\bf for the parameter/return types | |
33 supported by \dc}, not for aggregates (structures, unions and classes), SIMD | |
34 data types (\_\_m64, \_\_m128, \_\_m128i, \_\_m128d), etc.\\ | |
35 We strongly advise the reader not to use this document as a general purpose | |
36 calling convention reference. | |
37 | |
38 \input{callconvs/callconv_x86}\newpage | |
39 \input{callconvs/callconv_x64}\newpage | |
40 \input{callconvs/callconv_ppc32}\newpage | |
41 \input{callconvs/callconv_ppc64}\newpage | |
42 \input{callconvs/callconv_arm32}\newpage | |
43 \input{callconvs/callconv_arm64}\newpage | |
44 \input{callconvs/callconv_mips}\newpage | |
45 \input{callconvs/callconv_sparc}\newpage | |
46 \input{callconvs/callconv_sparc64} | |
47 |