ARM_NEON_2_x86_SSE icon indicating copy to clipboard operation
ARM_NEON_2_x86_SSE copied to clipboard

Uint32x4_t cannot perform '|' operation

Open LOWRUI opened this issue 1 year ago • 2 comments
trafficstars

uint32x4_t n_u32result_tem1 = vceqq_s32(n_s32TmpValue2, n_s32uplimit); uint32x4_t n_u32result_tem2 = vceqq_s32(n_s32TmpValue2, n_s32lowlimit); n_u32result = n_u32result_tem1 | n_u32result_tem2 n_u32result = n_u32result_tem1 & n_u32result_tem2 Uint32x4_t cannot perform "|" and "&" operations

LOWRUI avatar Oct 22 '24 11:10 LOWRUI

Hi, yes, NEON data types are converted to 128 bit x86 data (__m128i in your case) by design, and that's not a type that could use logical bit operations, sorry. Does this code work as is on ARM?

Zvictoria avatar Oct 22 '24 13:10 Zvictoria

Yes, it uses Xilinx's ZU5

LOWRUI avatar Oct 23 '24 00:10 LOWRUI