mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
MLAS: ARM64 build fix (#2734)
fix bad usage of vreinterpret to cast vector element types
This commit is contained in:
parent
71ce0b8e0a
commit
ebf23744eb
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ MlasQuantizeLinearKernel(
|
|||
MinimumValueVector, MaximumValueVector, ZeroPointVector);
|
||||
|
||||
#if defined(MLAS_NEON64_INTRINSICS)
|
||||
vst1q_lane_u8((uint8_t*)Output + n, vreinterpretq_s32_u8(IntegerVector), 0);
|
||||
vst1q_lane_u8((uint8_t*)Output + n, vreinterpretq_u8_s32(IntegerVector), 0);
|
||||
#else
|
||||
*((uint8_t*)Output + n) = (uint8_t)_mm_cvtsi128_si32(IntegerVector);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue