size_t vs uintptr_t

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 15 00:44:44 PDT 2016


On Wednesday, 15 June 2016 at 07:29:05 UTC, Ola Fosheim Grøstad 
wrote:
> On Tuesday, 14 June 2016 at 23:19:12 UTC, Walter Bright wrote:
>> There is no conceivable case where alignment will be > 32 
>> bits, nor not being a power of 2.
>
> Are you talking about hardware alignment or programmer 
> specified alignment?

When I come to think of it, there probably are some DSPs with 3 
byte alignment -> 24 bit load/store. When loaded into a register 
the upper 8 bits are fixed to zero.



More information about the Digitalmars-d mailing list