www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17385] New: Too much commands


          Issue ID: 17385
           Summary: Too much commands
           Product: D
           Version: D2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: Serafimati yandex.ru


Why not:

int example.square(ref int)
 mov    DWORD PTR [rdi],0xb
 xor    eax,eax 


We can save 17 bytes. It's 68% of all the procedure binary... What's wrong?

May 08 2017