Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 26, 2012 [Issue 7592] New: Conversion from ireal to ifloat broken when using xmm | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7592 Summary: Conversion from ireal to ifloat broken when using xmm Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: yebblies@gmail.com ReportedBy: yebblies@gmail.com --- Comment #0 from yebblies <yebblies@gmail.com> 2012-02-27 03:13:55 EST --- CastExp::toElem contains a typo making it emit (OPd_f (OPf_d v)) instead of (OPd_f (OPlld_d v)) when converting from ireal to ifloat. This does not cause problem when v is in a floating point register, but generates wrong code when using xmm registers. ifloat conv(ireal v) { return cast(ifloat)v; } void main() { assert(conv(1.0Li) == 1.0fi); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 26, 2012 [Issue 7592] Conversion from ireal to ifloat broken when using xmm | ||||
---|---|---|---|---|
| ||||
Posted in reply to yebblies | http://d.puremagic.com/issues/show_bug.cgi?id=7592 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, wrong-code --- Comment #1 from yebblies <yebblies@gmail.com> 2012-02-27 03:38:16 EST --- https://github.com/D-Programming-Language/dmd/pull/769 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2012 [Issue 7592] Conversion from ireal to ifloat broken when using xmm | ||||
---|---|---|---|---|
| ||||
Posted in reply to yebblies | http://d.puremagic.com/issues/show_bug.cgi?id=7592 --- Comment #2 from github-bugzilla@puremagic.com 2012-03-10 12:05:40 PST --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5502fd412e4a854cbd35fbd9b51ad98e406d5b6c fix issue 7592 https://github.com/yebblies/dmd/commit/d847c1c2dd3c254324924530beab38b49510bf13 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2012 [Issue 7592] Conversion from ireal to ifloat broken when using xmm | ||||
---|---|---|---|---|
| ||||
Posted in reply to yebblies | http://d.puremagic.com/issues/show_bug.cgi?id=7592 --- Comment #3 from github-bugzilla@puremagic.com 2012-03-10 12:05:47 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b134e40437b5313cf021fcb8e27c6e3007d8ef67 fix issue 7592 https://github.com/yebblies/dmd/commit/d847c1c2dd3c254324924530beab38b49510bf13 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2012 [Issue 7592] Conversion from ireal to ifloat broken when using xmm | ||||
---|---|---|---|---|
| ||||
Posted in reply to yebblies | http://d.puremagic.com/issues/show_bug.cgi?id=7592 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- 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