Win64, merge-2.067, LLVM master, VS 2015 - current status
    Kai Nacke via digitalmars-d-ldc 
    digitalmars-d-ldc at puremagic.com
       
    Sat May 23 15:20:06 PDT 2015
    
    
  
On Thursday, 21 May 2015 at 19:05:33 UTC, John Colvin wrote:
> On Wednesday, 20 May 2015 at 13:34:50 UTC, Temtaime wrote:
>> Hi all !
>> http://goo.gl/0JI4qJ
>> Why ldc cannot optimize it ?
>> Should i create an issue ?
>> For example gdc uses only one mulfps.
>
> Rule of thumb: don't use array ops for short arrays. They are 
> quite well optimised for large arrays, but aren't great in 
> cases like your example.
Now ldc should inline the arrayops. If you have some benchmarks 
you could re-run them.
Regards,
Kai
    
    
More information about the digitalmars-d-ldc
mailing list