Bug 19276 – Document accurately calling conventions and demo them in inline asm

Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-09-30T12:01:45Z
Last change time
2019-01-02T16:20:55Z
Assigned to
No Owner
Creator
Basile-z

Comments

Comment #0 by b2.temp — 2018-09-30T12:01:45Z
https://dlang.org/spec/abi.html or https://dlang.org/spec/iasm.html should contain the specification for extern(C) and extern(D) register convention for - linux and windows, - x86 and x86_64 - simple types incl floats - value types that don't fit - array
Comment #1 by kinke — 2018-09-30T12:44:57Z
The System V ABI (used on all non-Windows x86_64 platforms AFAIK) is way too complex for a Wiki page. See https://www.uclibc.org/docs/psABI-x86_64.pdf.