April 20, 2015
http://bugzilla.gdcproject.org/show_bug.cgi?id=180

            Bug ID: 180
           Summary: DMD -O is faster than GDC -O3 for byte and short math
           Product: GDC
           Version: development
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw@gdcproject.org
          Reporter: ketmar@ketmar.no-ip.org

Created attachment 84
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=84&action=edit
test case

using the attached test code, i got this results:

for: dmd -O -inline -release
  tByte: 0.004,872 secs
 tShort: 0.006,896 secs
   tInt: 0.008,672 secs
  tLong: 0.036,864 secs

for: gdc -march=native -O3 -frelease
  tByte: 0.008,830 secs
 tShort: 0.008,858 secs
   tInt: 0.008,267 secs
  tLong: 0.014,029 secs

seems that DMD does better with bytes and shorts, while gdc has the same speed for bytes, shorts and ints.

-- 
You are receiving this mail because:
You are watching all bug changes.