dmd codegen improvements

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 29 01:24:26 PDT 2015


On 8/28/2015 9:19 PM, deadalnix wrote:
> I bet none of you can implement SROA in DMD.

I know it's supposed to be advanced technology, but it's pretty simple. Just 
look for aggregate instances which are only accessed on register boundaries, and 
don't have the address taken. Then slice them up into separate register-sized 
variables, and re-run the optimizer. Voila!



More information about the Digitalmars-d mailing list