[llvm-dev] Complex proposal v3 + roundtable agenda

Florian Hahn via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 4 03:16:49 PDT 2021



> On Sep 30, 2021, at 14:23, Sjoerd Meijer <Sjoerd.Meijer at arm.com> wrote:
> 
> Hello,
> 
> I would like to revive this thread.
> 
> We started thinking about supporting complex number support, for the same reason Florian stated in his first mail. The idea before I googled and stumbled on this thread, was the same as Florian proposed. So yes, I would like to support this approach. 🙂 I would like to add that GCC's approach is the same/similar: complex number patterns are recognised in the SLP vectoriser, and complex number builtins are emitted (and then matched later). 
> 
> Any objections if we go for this approach? Florian, any plans to pick this up?


I still think the intrinsics route is a good way to start and to incrementally improve support for architectures that have dedicated instructions for complex multiply & co relatively quickly. I rebased the patches sketching support for such an intrinsic on AArch64 (https://reviews.llvm.org/D91346 <https://reviews.llvm.org/D91346> and stacked patches). But I won’t be able to continue lobbying for this approach in the near future. I’d be more than happy if anybody would be interested in picking this up.

Cheers,
Florian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211004/569eb700/attachment-0001.html>


More information about the llvm-dev mailing list