Daily update on 20260125-013900 by Nitload Youmu. Additional Message : start working on state machine and regular analysis

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2026-01-25 01:39:00 +08:00
parent cb62bd48f3
commit 22baa6c5b0
9 changed files with 194 additions and 24 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
#include "sn_target.h"
#include "sn_target.h"
#if SN_IS_ARCH(SN_ARCH_X86_64)
@@ -96,7 +96,7 @@ DECLARE_KER_PROC_LEFT_RIGHT_ANS_SCALAR(float, sse, , try_plu)
__m128 _t = _mm_shuffle_ps(_p, _p, _MM_SHUFFLE(2, 3, 0, 1)); \
_p = _mm_add_ps(_p, _t); \
_t = _mm_movehl_ps(_t, _p); \
ans = _mm_cvt_ss(_mm_add_ss(_p, _t)); \
ans = _mm_cvtss_f32(_mm_add_ss(_p, _t)); \
} while (0)
#define FIND_MAX_F32_SSE(a, b) \
@@ -143,7 +143,7 @@ DECLARE_KER_PROC_RIGHT_ANS(float, sse, , quality)
register __m128 min0 = _mm_min_ps(col_shuff_2, col_shuff_3);
min = _mm_min_ps(min, min0);
float quality = _mm_cvt_ss(_mm_div_ps(min, _mm_add_ps(max, tiny)));
float quality = _mm_cvtss_f32(_mm_div_ps(min, _mm_add_ps(max, tiny)));
ans->f32_x[0].m128_f32[0] = quality;
if (quality < quality_threshold) {
return;