<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I left a comment on the ticket.</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> cfe-dev <cfe-dev-bounces@lists.llvm.org> on behalf of via cfe-dev <cfe-dev@lists.llvm.org><br>
<b>Sent:</b> 09 November 2019 19:03<br>
<b>To:</b> cfe-dev@lists.llvm.org <cfe-dev@lists.llvm.org><br>
<b>Subject:</b> [cfe-dev] Unresolved bug with arm neon instructions</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi, the bug 39087 opened more than a year ago is still unresolved.<br>
<br>
I have this code:<br>
<br>
#include <arm_neon.h><br>
<br>
#define vroti_epi32(x, i)                                         \<br>
        (i < 0 ? vsliq_n_u32(vshrq_n_u32(x, 32 - i), x, i)        \<br>
               : vsriq_n_u32(vshlq_n_u32(x, 32 + i), x, -i))<br>
<br>
int main()<br>
{<br>
        uint32x4_t x = vdupq_n_u32(42);<br>
        uint32x4_t value = vroti_epi32(x, 12);<br>
<br>
        return 0;<br>
}<br>
<br>
with clang 8.0.7 and other versions there is an error on compilation. With gcc all works without issue.<br>
Could you fix this bug?<br>
<br>
Thank you<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
cfe-dev@lists.llvm.org<br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</div>
</span></font></div>
</body>
</html>