Why 16Mib static array size limit?

Yuxuan Shui via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 15 19:32:48 PDT 2016


On Tuesday, 16 August 2016 at 01:28:05 UTC, Ali Çehreli wrote:
> On 08/15/2016 12:09 PM, Ali Çehreli wrote:
>> [...]
>
> Could you please help me understand the following results, 
> possibly by analyzing the produced assembly?
>
> [...]

There seem to be two things at work here: 1) when not accessed 
via pointer, access to the array is going through TCB everytime 
(for it's a TLS variable) 2) LDC is able to vectorize the pointer 
version but not the array version.

>
> [...]



More information about the Digitalmars-d mailing list