What have I missed?

Mehrdad via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 9 02:54:08 PDT 2014


On Saturday, 9 August 2014 at 09:44:17 UTC, Era Scarecrow wrote:
> On Saturday, 9 August 2014 at 09:34:38 UTC, Mehrdad wrote:
>> On Friday, 8 August 2014 at 22:43:38 UTC, Andrei Alexandrescu 
>> wrote:
>>> Alignment is often not an issue - you handle the 
>>> setup/teardown misalignments separately and to the bulk 64 
>>> bits at a time.
>>
>> What kind of performance are you looking for? I have some very 
>> basic bit-manipulation code written in C++ that operates on 
>> whole words at a time, not sure if it's what you need but if 
>> it is then it should be trivial to port this to D:
>
>  Glancing at it, it looks like it would probably do what i'd 
> want. Although i'd have to study it closer while converting it.

Oh in that case, I'll just send you the code I have right now. 
I'd double-check it to see if it works though -- it may have 
bugs, especially in the SIMD.

Here: http://pastebin.com/UG9wb0s5


More information about the Digitalmars-d mailing list