digitalmars.D.bugs - [Issue 6563] New: wrong code when using at least 8 XMM regs
- d-bugmail puremagic.com (39/39) Aug 27 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6563
- d-bugmail puremagic.com (6/6) Aug 27 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6563
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 puremagic.com ReportedBy: dawg dawgfoto.de --- Comment #0 from dawg 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: -------
Aug 27 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6563 --- Comment #1 from dawg dawgfoto.de 2011-08-27 12:46:10 PDT --- https://github.com/D-Programming-Language/dmd/pull/343 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 27 2011