digitalmars.D.bugs - [Issue 6270] New: XMMREGS not preserved on indirect function call
- d-bugmail puremagic.com (36/36) Jul 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6270
- d-bugmail puremagic.com (10/10) Jul 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6270
- d-bugmail puremagic.com (13/13) Aug 05 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6270
http://d.puremagic.com/issues/show_bug.cgi?id=6270 Summary: XMMREGS not preserved on indirect function call Product: D Version: D2 Platform: x86_64 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-07-08 13:56:34 PDT --- class XMMPainter { float call() { return sumFloats(0.0f, 0.0f); } static float sumFloats(float a, float b) { return a + b; } } void testXMM() { auto painter = new XMMPainter; assert(XMMPainter.sumFloats(20, painter.call()) == 20.0f); } --- The expression painter.call() is evaluated after 20 has been loaded into xmm1, but the register is not saved. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6270 dawg dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from dawg dawgfoto.de 2011-07-08 14:48:46 PDT --- https://github.com/D-Programming-Language/dmd/pull/217 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6270 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla digitalmars.com> 2011-08-05 16:11:29 PDT --- https://github.com/D-Programming-Language/dmd/commit/c75ccddf0c8d1fee007f392635b5dfeacb1cf0c7 https://github.com/D-Programming-Language/dmd/commit/133dce625e2747b4a3f80ce0a9e4fb71fc55ed9e -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 05 2011