http://d.puremagic.com/issues/show_bug.cgi?id=9863

           Summary: Incorrect generation of SAHF instruction on 64 bits
           Product: D
           Version: D1 & D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Walter Bright <[email protected]> 2013-04-02 
12:21:12 PDT ---
The SAHF instruction does not exist on early 64 bit CPUs, so dmd should not
generate it. Example code that does:

bool foo(creal c)
{
    return c != 0;
}

This will cause an illegal instruction fault on older 64 bit CPUs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to