Thread overview | |||||
---|---|---|---|---|---|
|
July 08, 2011 [Issue 6270] New: XMMREGS not preserved on indirect function call | ||||
---|---|---|---|---|
| ||||
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: ------- |
July 08, 2011 [Issue 6270] XMMREGS not preserved on indirect function call | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | 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: ------- |
August 05, 2011 [Issue 6270] XMMREGS not preserved on indirect function call | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | 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: ------- |
Copyright © 1999-2021 by the D Language Foundation