![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
#include "blake2b-load-sse2.h"Go to the source code of this file.
Macros | |
| #define | __BLAKE2B_ROUND_H__ |
| #define | LOAD(p) _mm_load_si128( (const __m128i *)(p) ) |
| #define | STORE(p, r) _mm_store_si128((__m128i *)(p), r) |
| #define | LOADU(p) _mm_loadu_si128( (const __m128i *)(p) ) |
| #define | STOREU(p, r) _mm_storeu_si128((__m128i *)(p), r) |
| #define | TOF(reg) _mm_castsi128_ps((reg)) |
| #define | TOI(reg) _mm_castps_si128((reg)) |
| #define | LIKELY(x) __builtin_expect((x),1) |
| #define | _mm_roti_epi64(r, c) _mm_xor_si128(_mm_srli_epi64( (r), -(c) ),_mm_slli_epi64( (r), 64-(-c) )) |
| #define | G1(row1l, row2l, row3l, row4l, row1h, row2h, row3h, row4h, b0, b1) |
| #define | G2(row1l, row2l, row3l, row4l, row1h, row2h, row3h, row4h, b0, b1) |
| #define | DIAGONALIZE(row1l, row2l, row3l, row4l, row1h, row2h, row3h, row4h) |
| #define | UNDIAGONALIZE(row1l, row2l, row3l, row4l, row1h, row2h, row3h, row4h) |
| #define | ROUND(r) |
| #define | BLAKE2_ROUND(row1l, row1h, row2l, row2h, row3l, row3h, row4l, row4h) |
| #define __BLAKE2B_ROUND_H__ |
Definition at line 15 of file blake2b-round.h.
| #define _mm_roti_epi64 | ( | r, | |
| c | |||
| ) | _mm_xor_si128(_mm_srli_epi64( (r), -(c) ),_mm_slli_epi64( (r), 64-(-c) )) |
Definition at line 39 of file blake2b-round.h.
| #define BLAKE2_ROUND | ( | row1l, | |
| row1h, | |||
| row2l, | |||
| row2h, | |||
| row3l, | |||
| row3h, | |||
| row4l, | |||
| row4h | |||
| ) |
Definition at line 161 of file blake2b-round.h.
| #define DIAGONALIZE | ( | row1l, | |
| row2l, | |||
| row3l, | |||
| row4l, | |||
| row1h, | |||
| row2h, | |||
| row3h, | |||
| row4h | |||
| ) |
Definition at line 117 of file blake2b-round.h.
| #define G1 | ( | row1l, | |
| row2l, | |||
| row3l, | |||
| row4l, | |||
| row1h, | |||
| row2h, | |||
| row3h, | |||
| row4h, | |||
| b0, | |||
| b1 | |||
| ) |
Definition at line 47 of file blake2b-round.h.
| #define G2 | ( | row1l, | |
| row2l, | |||
| row3l, | |||
| row4l, | |||
| row1h, | |||
| row2h, | |||
| row3h, | |||
| row4h, | |||
| b0, | |||
| b1 | |||
| ) |
Definition at line 66 of file blake2b-round.h.
Definition at line 26 of file blake2b-round.h.
| #define LOAD | ( | p | ) | _mm_load_si128( (const __m128i *)(p) ) |
Definition at line 17 of file blake2b-round.h.
| #define LOADU | ( | p | ) | _mm_loadu_si128( (const __m128i *)(p) ) |
Definition at line 20 of file blake2b-round.h.
| #define ROUND | ( | r | ) |
Definition at line 147 of file blake2b-round.h.
| #define STORE | ( | p, | |
| r | |||
| ) | _mm_store_si128((__m128i *)(p), r) |
Definition at line 18 of file blake2b-round.h.
| #define STOREU | ( | p, | |
| r | |||
| ) | _mm_storeu_si128((__m128i *)(p), r) |
Definition at line 21 of file blake2b-round.h.
| #define TOF | ( | reg | ) | _mm_castsi128_ps((reg)) |
Definition at line 23 of file blake2b-round.h.
| #define TOI | ( | reg | ) | _mm_castps_si128((reg)) |
Definition at line 24 of file blake2b-round.h.
| #define UNDIAGONALIZE | ( | row1l, | |
| row2l, | |||
| row3l, | |||
| row4l, | |||
| row1h, | |||
| row2h, | |||
| row3h, | |||
| row4h | |||
| ) |
Definition at line 128 of file blake2b-round.h.
1.8.11