[Issue 6563] New: wrong code when using at least 8 XMM regs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 27 11:52:52 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6563
Summary: wrong code when using at least 8 XMM regs
Product: D
Version: D2
Platform: Other
OS/Version: FreeBSD
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dawg at dawgfoto.de
--- Comment #0 from dawg at dawgfoto.de 2011-08-27 11:52:50 PDT ---
alias float T;
T val = 1;
int plot(T a, T b, T c, T d, T e, T f, T g, T h) {
assert(a == val);
return 0;
}
int main() {
return plot(
val,
val,
val,
val,
val,
val,
val,
val,
);
}
--
The values h-b are correctly loaded from XMM0-XMM6.
The calling function put a correctly into XMM7 but the plot
function loads it from the calling stack (misinterpreted as push parameter).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list