From 1e899fde015c29f53642b6b8e582a8547b6e3b1d Mon Sep 17 00:00:00 2001 From: ubsan Date: Sat, 25 Jun 2016 11:53:46 -0700 Subject: [PATCH] Add vectorcall and fastcall explanation --- src/doc/reference.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index d564b19e100..fa6014a3d6c 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1656,8 +1656,10 @@ There are also some platform-specific ABI strings: * `extern "stdcall"` -- The default for the Win32 API on x86\_32. * `extern "win64"` -- The default for C code on x86\_64 Windows. * `extern "aapcs"` -- The default for ARM. -* `extern "fastcall"` -* `extern "vectorcall"` +* `extern "fastcall"` -- The `fastcall` ABI -- corresponds to MSVC's + `__fastcall` and GCC and clang's `__attribute__((fastcall))` +* `extern "vectorcall"` -- The `vectorcall` ABI -- corresponds to MSVC's + `__vectorcall` and clang's `__attribute__((vectorcall))` Finally, there are some rustc-specific ABI strings: