[cfe-dev] Unresolved bug with arm neon instructions
cfe-dev at lists.llvm.org
Sat Nov 9 11:03:17 PST 2019
Hi, the bug 39087 opened more than a year ago is still unresolved.
I have this code:
#define vroti_epi32(x, i) \
(i < 0 ? vsliq_n_u32(vshrq_n_u32(x, 32 - i), x, i) \
: vsriq_n_u32(vshlq_n_u32(x, 32 + i), x, -i))
uint32x4_t x = vdupq_n_u32(42);
uint32x4_t value = vroti_epi32(x, 12);
with clang 8.0.7 and other versions there is an error on compilation. With gcc all works without issue.
Could you fix this bug?
More information about the cfe-dev