<div dir="ltr">Hi Ana,<div><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
In the clang changes, some of the intrinsics name carry a 'q' at the end of the base function name ( e..g., vmla_laneq). As a consequence you have to define a Q and non-Q version of the intrinsic declaration.<br>

<br>
Do you think it is better to add the 'q' using a size modifier like "128b but mangling 'q' at the end of base neon function name". I did something like that for the scalar by element intrinsics where I need to generate names like 'vmulxd_laneq_f64'.<br>


<br>
But in your case it seems you need 'q' both before the first '_' and at the end of the base neon function name.  Is that the reason you did not use a type modifier? You would need yet another size modifier like '128b but mangling 'q' at both places".<br>

</blockquote><div><br></div><div>Yes. This is one of the reasons.</div><div><br></div><div style>Also, my thought is we should avoid mixing the 'q' for specifying the result size of an ACLE intrinsic with the 'q' in 'laneq', because</div>
<div style>1) The former one is more general for all intrinsics, and the latter is only for 'by element' class.</div><div style>2) If we introduce another 'q' semantic, we would need to add more codes of automatically inserting the 'q' after 'lane' in NeonEmitter.cpp . I think it would be easy to make mistake and hard to be maintained by mixing those two 'q's.</div>
<div style>3) It's quite natural to introduce a new proto letter 'j (force 'Q' size modifier) to describe the inverse semantic of proto letter 'g (<span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:18px;white-space:pre">ignore 'Q' size modifier)</span>'. </div>
<div><br></div><div style>For your case, do you have to add a new size modifier? Can the new proto letter 'j' work for you?</div><div style><br></div><div style>Thanks,</div><div style>-Jiangning</div></div>
</div></div>