SANJAY SRIVALLABH SINGAPURAM via llvm-dev
2017-Feb-20 16:19 UTC
[llvm-dev] x86 and GPU backend support for irregular accesses
Hello ! Does the x86 back-end generate gather-scatter instructions for LLVM gather-scatter intrinsics ? Also, do the NVPTX and AMDGPU back-ends generate equivalent instructions for GPUs ? Thank You, Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170220/dc51b7cd/attachment.html>
Tobias Grosser via llvm-dev
2017-Feb-20 16:25 UTC
[llvm-dev] x86 and GPU backend support for irregular accesses
On Mon, Feb 20, 2017, at 05:19 PM, SANJAY SRIVALLABH SINGAPURAM via llvm-dev wrote:> Hello ! > > Does the x86 back-end generate gather-scatter instructions for > LLVM gather-scatter intrinsics ? > > Also, do the NVPTX and AMDGPU back-ends generate equivalent instructions > for GPUs ?Dear Sanjay, I suggest to just try this out. Create a simple test case and see what kind of assembly code is generated. Interesting will certainly be the AVX512 instructions for Xeon PHI. Best, Tobias> > Thank You, > Sanjay > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Madhur Amilkanthwar via llvm-dev
2017-Feb-20 16:29 UTC
[llvm-dev] x86 and GPU backend support for irregular accesses
What do you expect by meaning "equivalent" instructions in NVPTX backend? On Feb 20, 2017 9:56 PM, "Tobias Grosser via llvm-dev" < llvm-dev at lists.llvm.org> wrote:> On Mon, Feb 20, 2017, at 05:19 PM, SANJAY SRIVALLABH SINGAPURAM via > llvm-dev wrote: > > Hello ! > > > > Does the x86 back-end generate gather-scatter instructions for > > LLVM gather-scatter intrinsics ? > > > > Also, do the NVPTX and AMDGPU back-ends generate equivalent instructions > > for GPUs ? > > Dear Sanjay, > > I suggest to just try this out. Create a simple test case and see what > kind of assembly code is generated. Interesting will certainly be the > AVX512 instructions for Xeon PHI. > > Best, > Tobias > > > > > Thank You, > > Sanjay > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://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/20170220/a93e4618/attachment.html>
SANJAY SRIVALLABH SINGAPURAM via llvm-dev
2017-Feb-21 10:38 UTC
[llvm-dev] x86 and GPU backend support for irregular accesses
Hello Madhur, I meant any instructions that enable irregular accesses at the hardware level, e.g. a subset of Intel's AVX 512 and those here <https://software.intel.com/en-us/articles/understanding-gather-scatter-instructions-and-the-gather-scatter-unroll-compiler-switch> . Thanks, Sanjay On Mon, Feb 20, 2017 at 9:49 PM SANJAY SRIVALLABH SINGAPURAM < llvmresch_int01 at iith.ac.in> wrote:> Hello ! > > Does the x86 back-end generate gather-scatter instructions for > LLVM gather-scatter intrinsics ? > > Also, do the NVPTX and AMDGPU back-ends generate equivalent instructions > for GPUs ? > > Thank You, > Sanjay >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170221/53b92918/attachment.html>