Luo, Yuanke via llvm-dev
2020-Nov-19 02:29 UTC
[llvm-dev] [RFC] Intel AMX programming model
Hi, Several months ago, we have some discussion for Intel AMX programming model in llvm-dev. H.J. post the AMX ABI at [1], and I sent the design for the programming model at [2]. Thank Hal, Philip for the time to review the design and provide good ideas to improve the design. After that I implemented the patch [4] and it is reviewed in LLVM community. The patch covers 6 components. 1. The c interface to end user. 2. The AMX intrinsics in LLVM IR. 3. The Lowering from AMX intrinsics to AMX pseudo instruction. 4. Insert psuedo ldtilecfg and build the def-use between ldtilecfg to amx intruction. 5. The register allocation for tile register. 6. Morph AMX pseudo instruction to AMX real instruction. If there is no objection for the patch, I'd like to land it. [1] http://lists.llvm.org/pipermail/llvm-dev/2020-August/143972.html [2] http://lists.llvm.org/pipermail/llvm-dev/2020-August/144302.html [3] http://lists.llvm.org/pipermail/llvm-dev/2020-September/145200.html [4] https://reviews.llvm.org/D87981 Thanks Yuanke -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201119/912b84fb/attachment.html>
Renato Golin via llvm-dev
2020-Nov-19 11:55 UTC
[llvm-dev] [RFC] Intel AMX programming model
Hi Yuanke, As I said on the review, I think at least Craig should have a look and approve before landing, as this is a major change in the x86 back-end. cheers, --renato On Thu, 19 Nov 2020 at 02:29, Luo, Yuanke via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi, > > > > Several months ago, we have some discussion for Intel AMX programming > model in llvm-dev. H.J. post the AMX ABI at [1], and I sent the design for > the programming model at [2]. Thank Hal, Philip for the time to review the > design and provide good ideas to improve the design. After that I > implemented the patch [4] and it is reviewed in LLVM community. The patch > covers 6 components. > > 1. The c interface to end user. > > 2. The AMX intrinsics in LLVM IR. > > 3. The Lowering from AMX intrinsics to AMX pseudo instruction. > > 4. Insert psuedo ldtilecfg and build the def-use between ldtilecfg to amx > intruction. > > 5. The register allocation for tile register. > > 6. Morph AMX pseudo instruction to AMX real instruction. > > > > If there is no objection for the patch, I’d like to land it. > > > > [1] http://lists.llvm.org/pipermail/llvm-dev/2020-August/143972.html > > [2] http://lists.llvm.org/pipermail/llvm-dev/2020-August/144302.html > > [3] http://lists.llvm.org/pipermail/llvm-dev/2020-September/145200.html > > [4] https://reviews.llvm.org/D87981 > > > > Thanks > > Yuanke > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201119/21e2ee0a/attachment.html>
Luo, Yuanke via llvm-dev
2020-Nov-19 12:14 UTC
[llvm-dev] [RFC] Intel AMX programming model
Hi Renato, We have internal review with Craig on the design before, and I agree with you that it is nice that Craig can take the time to review and approve the patch. Hi Craig, Would you review my patch? Thanks Yuanke From: Renato Golin <rengolin at gmail.com> Sent: Thursday, November 19, 2020 7:56 PM To: Luo, Yuanke <yuanke.luo at intel.com> Cc: llvm-dev at lists.llvm.org; Craig Topper <craig.topper at gmail.com> Subject: Re: [llvm-dev] [RFC] Intel AMX programming model Hi Yuanke, As I said on the review, I think at least Craig should have a look and approve before landing, as this is a major change in the x86 back-end. cheers, --renato On Thu, 19 Nov 2020 at 02:29, Luo, Yuanke via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi, Several months ago, we have some discussion for Intel AMX programming model in llvm-dev. H.J. post the AMX ABI at [1], and I sent the design for the programming model at [2]. Thank Hal, Philip for the time to review the design and provide good ideas to improve the design. After that I implemented the patch [4] and it is reviewed in LLVM community. The patch covers 6 components. 1. The c interface to end user. 2. The AMX intrinsics in LLVM IR. 3. The Lowering from AMX intrinsics to AMX pseudo instruction. 4. Insert psuedo ldtilecfg and build the def-use between ldtilecfg to amx intruction. 5. The register allocation for tile register. 6. Morph AMX pseudo instruction to AMX real instruction. If there is no objection for the patch, I’d like to land it. [1] http://lists.llvm.org/pipermail/llvm-dev/2020-August/143972.html [2] http://lists.llvm.org/pipermail/llvm-dev/2020-August/144302.html [3] http://lists.llvm.org/pipermail/llvm-dev/2020-September/145200.html [4] https://reviews.llvm.org/D87981 Thanks Yuanke _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201119/13427a8a/attachment.html>