From e22f454f7c9a4c2d2f8f5f697f95dc79c92a54d5 Mon Sep 17 00:00:00 2001 From: Peter Pettersson Date: Mon, 22 Apr 2013 21:21:14 +0200 Subject: [PATCH] Aligment improvement. Small performance increase if the RandomWELL512a_SSE2 is properly SSE aligned and the single value method is used. --- RandomWELL512a_SSE2.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/RandomWELL512a_SSE2.h b/RandomWELL512a_SSE2.h index 3b61513..cae462b 100644 --- a/RandomWELL512a_SSE2.h +++ b/RandomWELL512a_SSE2.h @@ -45,10 +45,8 @@ public: private: __m128i state[16]; - unsigned index; - - // Helper to allow us to return one number per call. unsigned result[4]; + unsigned index; unsigned result_index; };