mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
debug: use before set
This commit is contained in:
parent
a2dc430a38
commit
9acda484fe
@ -177,15 +177,15 @@ u32 doSheng(const struct mcsheng *m, const u8 **c_inout, const u8 *soft_c_end,
|
|||||||
m->sheng_accel_limit, sheng_stop_limit);
|
m->sheng_accel_limit, sheng_stop_limit);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SHENG_SINGLE_ITER do { \
|
#define SHENG_SINGLE_ITER do { \
|
||||||
m128 shuffle_mask = masks[*(c++)]; \
|
m128 shuffle_mask = masks[*(c++)]; \
|
||||||
s = pshufb(shuffle_mask, s); \
|
s = pshufb(shuffle_mask, s); \
|
||||||
u32 s_gpr_x4 = movd(s); /* convert to u8 */ \
|
u32 s_gpr_x4 = movd(s); /* convert to u8 */ \
|
||||||
DEBUG_PRINTF("c %hhu (%c) --> s %hhu\n", c[-1], c[-1], s_gpr); \
|
DEBUG_PRINTF("c %hhu (%c) --> s %hhu\n", c[-1], c[-1], s_gpr_x4); \
|
||||||
if (s_gpr_x4 >= sheng_stop_limit_x4) { \
|
if (s_gpr_x4 >= sheng_stop_limit_x4) { \
|
||||||
s_gpr = s_gpr_x4; \
|
s_gpr = s_gpr_x4; \
|
||||||
goto exit; \
|
goto exit; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
u8 s_gpr;
|
u8 s_gpr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user