[Issue 13955] New: 64 bit C ABI not followed for passing structs with mixed floating types
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jan 8 07:49:02 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13955
Issue ID: 13955
Summary: 64 bit C ABI not followed for passing structs with
mixed floating types
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Keywords: wrong-code
Severity: major
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: yebblies at gmail.com
Both of these structs are passed in memory, when they should be passed via xmm
regs.
struct S
{
float a;
double b;
};
struct S
{
double a;
float b;
};
--
More information about the Digitalmars-d-bugs
mailing list