Fabcoin Core  0.16.2
P2P Digital Currency
Macros
blake2b-load-sse41.h File Reference

Go to the source code of this file.

Macros

#define __BLAKE2B_LOAD_SSE41_H__
 
#define LOAD_MSG_0_1(b0, b1)
 
#define LOAD_MSG_0_2(b0, b1)
 
#define LOAD_MSG_0_3(b0, b1)
 
#define LOAD_MSG_0_4(b0, b1)
 
#define LOAD_MSG_1_1(b0, b1)
 
#define LOAD_MSG_1_2(b0, b1)
 
#define LOAD_MSG_1_3(b0, b1)
 
#define LOAD_MSG_1_4(b0, b1)
 
#define LOAD_MSG_2_1(b0, b1)
 
#define LOAD_MSG_2_2(b0, b1)
 
#define LOAD_MSG_2_3(b0, b1)
 
#define LOAD_MSG_2_4(b0, b1)
 
#define LOAD_MSG_3_1(b0, b1)
 
#define LOAD_MSG_3_2(b0, b1)
 
#define LOAD_MSG_3_3(b0, b1)
 
#define LOAD_MSG_3_4(b0, b1)
 
#define LOAD_MSG_4_1(b0, b1)
 
#define LOAD_MSG_4_2(b0, b1)
 
#define LOAD_MSG_4_3(b0, b1)
 
#define LOAD_MSG_4_4(b0, b1)
 
#define LOAD_MSG_5_1(b0, b1)
 
#define LOAD_MSG_5_2(b0, b1)
 
#define LOAD_MSG_5_3(b0, b1)
 
#define LOAD_MSG_5_4(b0, b1)
 
#define LOAD_MSG_6_1(b0, b1)
 
#define LOAD_MSG_6_2(b0, b1)
 
#define LOAD_MSG_6_3(b0, b1)
 
#define LOAD_MSG_6_4(b0, b1)
 
#define LOAD_MSG_7_1(b0, b1)
 
#define LOAD_MSG_7_2(b0, b1)
 
#define LOAD_MSG_7_3(b0, b1)
 
#define LOAD_MSG_7_4(b0, b1)
 
#define LOAD_MSG_8_1(b0, b1)
 
#define LOAD_MSG_8_2(b0, b1)
 
#define LOAD_MSG_8_3(b0, b1)
 
#define LOAD_MSG_8_4(b0, b1)
 
#define LOAD_MSG_9_1(b0, b1)
 
#define LOAD_MSG_9_2(b0, b1)
 
#define LOAD_MSG_9_3(b0, b1)
 
#define LOAD_MSG_9_4(b0, b1)
 
#define LOAD_MSG_10_1(b0, b1)
 
#define LOAD_MSG_10_2(b0, b1)
 
#define LOAD_MSG_10_3(b0, b1)
 
#define LOAD_MSG_10_4(b0, b1)
 
#define LOAD_MSG_11_1(b0, b1)
 
#define LOAD_MSG_11_2(b0, b1)
 
#define LOAD_MSG_11_3(b0, b1)
 
#define LOAD_MSG_11_4(b0, b1)
 

Macro Definition Documentation

#define __BLAKE2B_LOAD_SSE41_H__

Definition at line 15 of file blake2b-load-sse41.h.

#define LOAD_MSG_0_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m0, m1); \
b1 = _mm_unpacklo_epi64(m2, m3); \
} while(0)

Definition at line 17 of file blake2b-load-sse41.h.

#define LOAD_MSG_0_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m0, m1); \
b1 = _mm_unpackhi_epi64(m2, m3); \
} while(0)

Definition at line 25 of file blake2b-load-sse41.h.

#define LOAD_MSG_0_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m4, m5); \
b1 = _mm_unpacklo_epi64(m6, m7); \
} while(0)

Definition at line 33 of file blake2b-load-sse41.h.

#define LOAD_MSG_0_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m4, m5); \
b1 = _mm_unpackhi_epi64(m6, m7); \
} while(0)

Definition at line 41 of file blake2b-load-sse41.h.

#define LOAD_MSG_10_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m0, m1); \
b1 = _mm_unpacklo_epi64(m2, m3); \
} while(0)

Definition at line 337 of file blake2b-load-sse41.h.

#define LOAD_MSG_10_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m0, m1); \
b1 = _mm_unpackhi_epi64(m2, m3); \
} while(0)

Definition at line 345 of file blake2b-load-sse41.h.

#define LOAD_MSG_10_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m4, m5); \
b1 = _mm_unpacklo_epi64(m6, m7); \
} while(0)

Definition at line 353 of file blake2b-load-sse41.h.

#define LOAD_MSG_10_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m4, m5); \
b1 = _mm_unpackhi_epi64(m6, m7); \
} while(0)

Definition at line 361 of file blake2b-load-sse41.h.

#define LOAD_MSG_11_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m7, m2); \
b1 = _mm_unpackhi_epi64(m4, m6); \
} while(0)

Definition at line 369 of file blake2b-load-sse41.h.

#define LOAD_MSG_11_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m5, m4); \
b1 = _mm_alignr_epi8(m3, m7, 8); \
} while(0)

Definition at line 377 of file blake2b-load-sse41.h.

#define LOAD_MSG_11_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_shuffle_epi32(m0, _MM_SHUFFLE(1,0,3,2)); \
b1 = _mm_unpackhi_epi64(m5, m2); \
} while(0)

Definition at line 385 of file blake2b-load-sse41.h.

#define LOAD_MSG_11_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m6, m1); \
b1 = _mm_unpackhi_epi64(m3, m1); \
} while(0)

Definition at line 393 of file blake2b-load-sse41.h.

#define LOAD_MSG_1_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m7, m2); \
b1 = _mm_unpackhi_epi64(m4, m6); \
} while(0)

Definition at line 49 of file blake2b-load-sse41.h.

#define LOAD_MSG_1_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m5, m4); \
b1 = _mm_alignr_epi8(m3, m7, 8); \
} while(0)

Definition at line 57 of file blake2b-load-sse41.h.

#define LOAD_MSG_1_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_shuffle_epi32(m0, _MM_SHUFFLE(1,0,3,2)); \
b1 = _mm_unpackhi_epi64(m5, m2); \
} while(0)

Definition at line 65 of file blake2b-load-sse41.h.

#define LOAD_MSG_1_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m6, m1); \
b1 = _mm_unpackhi_epi64(m3, m1); \
} while(0)

Definition at line 73 of file blake2b-load-sse41.h.

#define LOAD_MSG_2_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_alignr_epi8(m6, m5, 8); \
b1 = _mm_unpackhi_epi64(m2, m7); \
} while(0)

Definition at line 81 of file blake2b-load-sse41.h.

#define LOAD_MSG_2_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m4, m0); \
b1 = _mm_blend_epi16(m1, m6, 0xF0); \
} while(0)

Definition at line 89 of file blake2b-load-sse41.h.

#define LOAD_MSG_2_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m5, m1, 0xF0); \
b1 = _mm_unpackhi_epi64(m3, m4); \
} while(0)

Definition at line 97 of file blake2b-load-sse41.h.

#define LOAD_MSG_2_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m7, m3); \
b1 = _mm_alignr_epi8(m2, m0, 8); \
} while(0)

Definition at line 105 of file blake2b-load-sse41.h.

#define LOAD_MSG_3_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m3, m1); \
b1 = _mm_unpackhi_epi64(m6, m5); \
} while(0)

Definition at line 113 of file blake2b-load-sse41.h.

#define LOAD_MSG_3_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m4, m0); \
b1 = _mm_unpacklo_epi64(m6, m7); \
} while(0)

Definition at line 121 of file blake2b-load-sse41.h.

#define LOAD_MSG_3_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m1, m2, 0xF0); \
b1 = _mm_blend_epi16(m2, m7, 0xF0); \
} while(0)

Definition at line 129 of file blake2b-load-sse41.h.

#define LOAD_MSG_3_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m3, m5); \
b1 = _mm_unpacklo_epi64(m0, m4); \
} while(0)

Definition at line 137 of file blake2b-load-sse41.h.

#define LOAD_MSG_4_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m4, m2); \
b1 = _mm_unpacklo_epi64(m1, m5); \
} while(0)

Definition at line 145 of file blake2b-load-sse41.h.

#define LOAD_MSG_4_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m0, m3, 0xF0); \
b1 = _mm_blend_epi16(m2, m7, 0xF0); \
} while(0)

Definition at line 153 of file blake2b-load-sse41.h.

#define LOAD_MSG_4_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m7, m5, 0xF0); \
b1 = _mm_blend_epi16(m3, m1, 0xF0); \
} while(0)

Definition at line 161 of file blake2b-load-sse41.h.

#define LOAD_MSG_4_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_alignr_epi8(m6, m0, 8); \
b1 = _mm_blend_epi16(m4, m6, 0xF0); \
} while(0)

Definition at line 169 of file blake2b-load-sse41.h.

#define LOAD_MSG_5_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m1, m3); \
b1 = _mm_unpacklo_epi64(m0, m4); \
} while(0)

Definition at line 177 of file blake2b-load-sse41.h.

#define LOAD_MSG_5_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m6, m5); \
b1 = _mm_unpackhi_epi64(m5, m1); \
} while(0)

Definition at line 185 of file blake2b-load-sse41.h.

#define LOAD_MSG_5_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m2, m3, 0xF0); \
b1 = _mm_unpackhi_epi64(m7, m0); \
} while(0)

Definition at line 193 of file blake2b-load-sse41.h.

#define LOAD_MSG_5_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m6, m2); \
b1 = _mm_blend_epi16(m7, m4, 0xF0); \
} while(0)

Definition at line 201 of file blake2b-load-sse41.h.

#define LOAD_MSG_6_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m6, m0, 0xF0); \
b1 = _mm_unpacklo_epi64(m7, m2); \
} while(0)

Definition at line 209 of file blake2b-load-sse41.h.

#define LOAD_MSG_6_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m2, m7); \
b1 = _mm_alignr_epi8(m5, m6, 8); \
} while(0)

Definition at line 217 of file blake2b-load-sse41.h.

#define LOAD_MSG_6_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m0, m3); \
b1 = _mm_shuffle_epi32(m4, _MM_SHUFFLE(1,0,3,2)); \
} while(0)

Definition at line 225 of file blake2b-load-sse41.h.

#define LOAD_MSG_6_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m3, m1); \
b1 = _mm_blend_epi16(m1, m5, 0xF0); \
} while(0)

Definition at line 233 of file blake2b-load-sse41.h.

#define LOAD_MSG_7_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m6, m3); \
b1 = _mm_blend_epi16(m6, m1, 0xF0); \
} while(0)

Definition at line 241 of file blake2b-load-sse41.h.

#define LOAD_MSG_7_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_alignr_epi8(m7, m5, 8); \
b1 = _mm_unpackhi_epi64(m0, m4); \
} while(0)

Definition at line 249 of file blake2b-load-sse41.h.

#define LOAD_MSG_7_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m2, m7); \
b1 = _mm_unpacklo_epi64(m4, m1); \
} while(0)

Definition at line 257 of file blake2b-load-sse41.h.

#define LOAD_MSG_7_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m0, m2); \
b1 = _mm_unpacklo_epi64(m3, m5); \
} while(0)

Definition at line 265 of file blake2b-load-sse41.h.

#define LOAD_MSG_8_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m3, m7); \
b1 = _mm_alignr_epi8(m0, m5, 8); \
} while(0)

Definition at line 273 of file blake2b-load-sse41.h.

#define LOAD_MSG_8_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m7, m4); \
b1 = _mm_alignr_epi8(m4, m1, 8); \
} while(0)

Definition at line 281 of file blake2b-load-sse41.h.

#define LOAD_MSG_8_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = m6; \
b1 = _mm_alignr_epi8(m5, m0, 8); \
} while(0)

Definition at line 289 of file blake2b-load-sse41.h.

#define LOAD_MSG_8_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_blend_epi16(m1, m3, 0xF0); \
b1 = m2; \
} while(0)

Definition at line 297 of file blake2b-load-sse41.h.

#define LOAD_MSG_9_1 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m5, m4); \
b1 = _mm_unpackhi_epi64(m3, m0); \
} while(0)

Definition at line 305 of file blake2b-load-sse41.h.

#define LOAD_MSG_9_2 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpacklo_epi64(m1, m2); \
b1 = _mm_blend_epi16(m3, m2, 0xF0); \
} while(0)

Definition at line 313 of file blake2b-load-sse41.h.

#define LOAD_MSG_9_3 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_unpackhi_epi64(m7, m4); \
b1 = _mm_unpackhi_epi64(m1, m6); \
} while(0)

Definition at line 321 of file blake2b-load-sse41.h.

#define LOAD_MSG_9_4 (   b0,
  b1 
)
Value:
do \
{ \
b0 = _mm_alignr_epi8(m7, m5, 8); \
b1 = _mm_unpacklo_epi64(m6, m0); \
} while(0)

Definition at line 329 of file blake2b-load-sse41.h.