Code-generate QU8 GEMM and IGEMM microkernels for SSE2/SSSE3/SSE4.1
PiperOrigin-RevId: 382681546
diff --git a/src/qc8-igemm/gen/2x4c2-minmax-fp32-sse2-ld64.c b/src/qc8-igemm/gen/2x4c2-minmax-fp32-sse2-ld64.c
index 248de43..6c6dbd7 100644
--- a/src/qc8-igemm/gen/2x4c2-minmax-fp32-sse2-ld64.c
+++ b/src/qc8-igemm/gen/2x4c2-minmax-fp32-sse2-ld64.c
@@ -186,8 +186,8 @@
vout = _mm_srli_epi32(vout, 16);
}
if (nc & 1) {
- *((int8_t*) c1) = (int8_t) _mm_extract_epi16(vout, 2);
- *((int8_t*) c0) = (int8_t) _mm_cvtsi128_si32(vout);
+ *c1 = (int8_t) _mm_extract_epi16(vout, 2);
+ *c0 = (int8_t) _mm_cvtsi128_si32(vout);
}
nc = 0;