Very strange problem with comparing floating point numbers

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Sep 30 13:32:07 PDT 2012


On 9/30/12, Tommi <tommitissari at hotmail.com> wrote:
> On Sunday, 30 September 2012 at 01:48:04 UTC, Andrej Mitrovic
> wrote:
>>
>> Dissasembly:
>> __Dmain:; Function begin, communal
>>         enter   12, 0                                   ; 0000
>> _ C8, 000C, 00
>>         call    _D4test8getFloatFNdZf                   ; 0004
>> _ E8,
>> 00000000(rel)
>> ...
>
> Can I tell DMD to produce the assembly, or what did you do to get
> that?
>

I use objconv (can run on win32 only methinks) on an .obj file on
win32 via a batch file:
objconv -fnasm %~nx1 %~n1_disasm.asm  && %~n1_disasm.asm
http://www.agner.org/optimize/objconv.zip


More information about the Digitalmars-d-learn mailing list