SIMD benchmark

Iain Buclaw ibuclaw at ubuntu.com
Sun Jan 15 10:10:58 PST 2012


On 15 January 2012 16:59, Iain Buclaw <ibuclaw at ubuntu.com> wrote:
> On 15 January 2012 06:56, Walter Bright <newshound2 at digitalmars.com> wrote:
>> I get a 2 to 2.5 speedup with the vector instructions on 64 bit Linux.
>> Anyhow, it's good enough now to play around with. Consider it alpha quality.
>> Expect bugs - but make bug reports, as there's a serious lack of source code
>> to test it with.
>
> I get 20+ speedup without optimisations with GDC on that small test. :)
>

Correction, 1.5x speed up without, 20x speed up with -O1, 30x speed up
with -O2 and above.  My oh my...



-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list