Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 06 Jul 2015 23:15:41 -0400
From: Alain Espinosa <>
Subject: Re: extend SIMD intrinsics

-------- Original message --------
From: Solar Designer <> 
Date:07/06/2015 9:49 PM (GMT-05:00) 
Subject: Re: [john-dev] extend SIMD intrinsics 

> And why not:
> a[i] = reload_state[i*16+0];

...We could, but I suspect the compiler would be more likely to do
something like an inline memcpy() instead of a SIMD load then.

In Visual C the difference of a simple assignment and a vload is that for the assignment the compiler generate an unaligned SIMD load instruction, and for vload it generates an aligned SIMD load with the usual restriction: if this memory access isn't aligned the required byte amount an exception is raised. In general the performance difference is negligible,  if any.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ