Compare commits
2 Commits
b4615f890f
...
093aeda028
| Author | SHA1 | Date |
|---|---|---|
|
|
093aeda028 | |
|
|
338c56e6ed |
|
|
@ -106,7 +106,7 @@ end_loop8:
|
||||||
gmax = imax; te = i;
|
gmax = imax; te = i;
|
||||||
for (j = 0; LIKELY(j < slen); ++j)
|
for (j = 0; LIKELY(j < slen); ++j)
|
||||||
_mm_store_si128(Hmax + j, _mm_load_si128(H1 + j));
|
_mm_store_si128(Hmax + j, _mm_load_si128(H1 + j));
|
||||||
//if (gmax >= endsc) break;
|
if (gmax >= endsc) break;
|
||||||
}
|
}
|
||||||
S = H1; H1 = H0; H0 = S;
|
S = H1; H1 = H0; H0 = S;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,7 @@ end_loop16:
|
||||||
gmax = imax; te = i; // te is the end position on the target
|
gmax = imax; te = i; // te is the end position on the target
|
||||||
for (j = 0; LIKELY(j < slen); ++j) // keep the H1 vector
|
for (j = 0; LIKELY(j < slen); ++j) // keep the H1 vector
|
||||||
_mm_store_si128(Hmax + j, _mm_load_si128(H1 + j));
|
_mm_store_si128(Hmax + j, _mm_load_si128(H1 + j));
|
||||||
//if (gmax + q->shift >= 255 || gmax >= endsc) break;
|
if (gmax + q->shift >= 255 || gmax >= endsc) break;
|
||||||
}
|
}
|
||||||
S = H1; H1 = H0; H0 = S; // swap H0 and H1
|
S = H1; H1 = H0; H0 = S; // swap H0 and H1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,8 @@ extern FILE *ins_f_arr[LIM_TYPE],
|
||||||
*retval_f_arr[LIM_TYPE];
|
*retval_f_arr[LIM_TYPE];
|
||||||
|
|
||||||
// GLOBAL performance info
|
// GLOBAL performance info
|
||||||
enum {
|
enum
|
||||||
|
{
|
||||||
G_ALL = 0,
|
G_ALL = 0,
|
||||||
G_EXT_SCALAR,
|
G_EXT_SCALAR,
|
||||||
G_EXT_AVX2_I16,
|
G_EXT_AVX2_I16,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue