DMD Issue with Asm Generation?

2016-02-13 Thread user001 via Digitalmars-d
There seems to be some invalid code generation for std.format for type of "real". Relavant links: https://github.com/D-Programming-Language/phobos/blob/master/std/format.d#L1713 https://github.com/D-Programming-Language/phobos/blob/master/std/math.d#L5118 movabs rbx,7FF0

Re: DMD Issue with Asm Generation?

2016-02-13 Thread user001 via Digitalmars-d
Disregard all that above, looks like someone used a "double" which uses 0x7FF0 to check if infinite. Not sure why the code runs fine on x86 though, different library maybe? https://github.com/D-Programming-Language/phobos/blob/master/std/format.d#L1709

Re: DMD Issue with Asm Generation?

2016-02-13 Thread jkpl via Digitalmars-d
On Saturday, 13 February 2016 at 20:50:22 UTC, user001 wrote: Disregard all that above, looks like someone used a "double" which uses 0x7FF0 to check if infinite. Not sure why the code runs fine on x86 though, different library maybe?