[cfe-dev] Unresolved bug with arm neon instructions
Sjoerd Meijer via cfe-dev
cfe-dev at lists.llvm.org
Mon Nov 11 06:45:23 PST 2019
I left a comment on the ticket.
________________________________
From: cfe-dev <cfe-dev-bounces at lists.llvm.org> on behalf of via cfe-dev <cfe-dev at lists.llvm.org>
Sent: 09 November 2019 19:03
To: cfe-dev at lists.llvm.org <cfe-dev at lists.llvm.org>
Subject: [cfe-dev] Unresolved bug with arm neon instructions
Hi, the bug 39087 opened more than a year ago is still unresolved.
I have this code:
#include <arm_neon.h>
#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))
int main()
{
uint32x4_t x = vdupq_n_u32(42);
uint32x4_t value = vroti_epi32(x, 12);
return 0;
}
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?
Thank you
_______________________________________________
cfe-dev mailing list
cfe-dev at lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191111/52266cef/attachment.html>
More information about the cfe-dev
mailing list