Skip to content

Commit 1e899fd

Browse files
committed
Add vectorcall and fastcall explanation
1 parent dbe6a09 commit 1e899fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/doc/reference.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1656,8 +1656,10 @@ There are also some platform-specific ABI strings:
16561656
* `extern "stdcall"` -- The default for the Win32 API on x86\_32.
16571657
* `extern "win64"` -- The default for C code on x86\_64 Windows.
16581658
* `extern "aapcs"` -- The default for ARM.
1659-
* `extern "fastcall"`
1660-
* `extern "vectorcall"`
1659+
* `extern "fastcall"` -- The `fastcall` ABI -- corresponds to MSVC's
1660+
`__fastcall` and GCC and clang's `__attribute__((fastcall))`
1661+
* `extern "vectorcall"` -- The `vectorcall` ABI -- corresponds to MSVC's
1662+
`__vectorcall` and clang's `__attribute__((vectorcall))`
16611663

16621664
Finally, there are some rustc-specific ABI strings:
16631665

0 commit comments

Comments
 (0)