<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 1, 2020, at 10:26, Venkataramanan Kumar via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">Hi Alexandre,<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 1 Sep, 2020, 2:21 pm Alexandre Bique, <<a href="mailto:bique.alexandre@gmail.com" target="_blank" rel="noreferrer" class="">bique.alexandre@gmail.com</a>> wrote:<br class=""></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class="gmail_quote">On Tue, Sep 1, 2020 at 9:07 AM Venkataramanan Kumar<br class="">
<<a href="mailto:venkataramanan.kumar.llvm@gmail.com" rel="noreferrer noreferrer" target="_blank" class="">venkataramanan.kumar.llvm@gmail.com</a>> wrote:<br class="">
> Hi Alexandre,<br class="">
<br class="">
Hi Venkataramanan,<br class="">
<br class="">
> I am not sure if we can generate vector calls to GlibC libmvec.<br class="">
Is the support for libmvec on the roadmap? If not how to add it?<br class=""></blockquote></div></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I also wanted to check with others here, if we can add support for vector routines in Glibc libmvec. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Libmvec may not be available in machines which uses lower versions of glibc. We may have to take care of generating calls only when we detect libmvec and also meet required ISA requirements. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Otherwise is it ok to generate vector calls under a flag?</div></div></div></blockquote><br class=""></div><div>The existing vector library variants are enabled with a flag (`-vector-library`) on the LLVM side as mentioned earlier. I think it would make sense to add support for libmvec in a similar fashion. That should be relatively straight-forward.</div><div><br class=""></div><div>Cheers,</div><div>Florian</div></body></html>