TODO reminder for KMG/JSP about hardcoded constant

Signed-off-by: Loic Dachary <loic@dachary.org>
master
Loic Dachary 2014-04-10 16:59:38 +02:00
parent 8a96cbb371
commit b5ac2580c2
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ struct gf_bytwo_data {
t2 = ((t2 << 1) - (t2 >> (GF_FIELD_WIDTH-1))); \
b = (t1 ^ (t2 & ip));}
// ToDo(KMG/JSP): Why is 0x88 hard-coded?
#define SSE_AB2(pp, m1, va, t1, t2) {\
t1 = _mm_and_si128(_mm_slli_epi64(va, 1), m1); \
t2 = _mm_and_si128(va, _mm_set1_epi8(0x88)); \