Haider Zeeshan (CC/ESM1) via llvm-dev
2017-Feb-03 17:15 UTC
[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization
One more thing, setting up clang 5,0 on windows, I have issues compiling libcxx project. Is it supported to be built with Visual studio or MinGW make files? Mit freundlichen Grüßen / Best regards Zeeshan Haider CC/ESM1 Tel. +49(711)811-47379 -----Original Message----- From: Tim Northover [mailto:t.p.northover at gmail.com] Sent: Freitag, 3. Februar 2017 18:05 To: Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com> Cc: llvm-dev at lists.llvm.org Subject: Re: [llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization Hi Haider, On 3 February 2017 at 07:13, Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com> wrote:> Being that said, can I be sure that for 64 bit arm architectures (e.g. arm cortex A57) the neon feature and auto-vectorization is supported as default by clang 5.0?Yes, unless something has gone horribly wrong they will be. The obvious quick test would be to compile something trivial like void foo(float *arr) { for (int i = 0; i < 128; ++i) arr[i] += 1; } and look at the output. Tim.
Renato Golin via llvm-dev
2017-Feb-03 20:03 UTC
[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization
Adding some people that know about libcxx and/or windows on arm. Cheers, Renato On 3 Feb 2017 18:15, "Haider Zeeshan (CC/ESM1) via llvm-dev" < llvm-dev at lists.llvm.org> wrote:> One more thing, setting up clang 5,0 on windows, I have issues compiling > libcxx project. > > Is it supported to be built with Visual studio or MinGW make files? > > Mit freundlichen Grüßen / Best regards > > Zeeshan Haider > CC/ESM1 > > Tel. +49(711)811-47379 > > > > -----Original Message----- > From: Tim Northover [mailto:t.p.northover at gmail.com] > Sent: Freitag, 3. Februar 2017 18:05 > To: Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com> > Cc: llvm-dev at lists.llvm.org > Subject: Re: [llvm-dev] Clang 5.0 support for armv8 64 bit with neon and > auto vectorization > > Hi Haider, > > On 3 February 2017 at 07:13, Haider Zeeshan (CC/ESM1) < > Zeeshan.Haider at de.bosch.com> wrote: > > Being that said, can I be sure that for 64 bit arm architectures (e.g. > arm cortex A57) the neon feature and auto-vectorization is supported as > default by clang 5.0? > > Yes, unless something has gone horribly wrong they will be. The obvious > quick test would be to compile something trivial like > > void foo(float *arr) { > for (int i = 0; i < 128; ++i) > arr[i] += 1; > } > > and look at the output. > > Tim. > _______________________________________________ > 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/20170203/8c8a54a2/attachment.html>
Eric Fiselier via llvm-dev
2017-Feb-05 01:52 UTC
[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization
Windows support for libc++ is very immature, and I would recommend disabling it on Windows. Work started on the port only about a month ago and there are still a bunch of bugs and unimplemented features. Unfortunately building on Windows requires Clang since MSVC doesn't provide `#include_next` which is needed by libc++.> Is it supported to be built with Visual studio or MinGW make files?I've only ever targeted Ninja on Windows but I assume CMake would be able to target other generators as well. (Assuming Visual Studio build files allow using Clang). /Eric On Fri, Feb 3, 2017 at 1:03 PM, Renato Golin <renato.golin at linaro.org> wrote:> Adding some people that know about libcxx and/or windows on arm. > > Cheers, > Renato > > On 3 Feb 2017 18:15, "Haider Zeeshan (CC/ESM1) via llvm-dev" < > llvm-dev at lists.llvm.org> wrote: > >> One more thing, setting up clang 5,0 on windows, I have issues compiling >> libcxx project. >> >> Is it supported to be built with Visual studio or MinGW make files? >> >> Mit freundlichen Grüßen / Best regards >> >> Zeeshan Haider >> CC/ESM1 >> >> Tel. +49(711)811-47379 >> >> >> >> -----Original Message----- >> From: Tim Northover [mailto:t.p.northover at gmail.com] >> Sent: Freitag, 3. Februar 2017 18:05 >> To: Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com> >> Cc: llvm-dev at lists.llvm.org >> Subject: Re: [llvm-dev] Clang 5.0 support for armv8 64 bit with neon and >> auto vectorization >> >> Hi Haider, >> >> On 3 February 2017 at 07:13, Haider Zeeshan (CC/ESM1) < >> Zeeshan.Haider at de.bosch.com> wrote: >> > Being that said, can I be sure that for 64 bit arm architectures (e.g. >> arm cortex A57) the neon feature and auto-vectorization is supported as >> default by clang 5.0? >> >> Yes, unless something has gone horribly wrong they will be. The obvious >> quick test would be to compile something trivial like >> >> void foo(float *arr) { >> for (int i = 0; i < 128; ++i) >> arr[i] += 1; >> } >> >> and look at the output. >> >> Tim. >> _______________________________________________ >> 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/20170204/a994ddc7/attachment.html>
Saleem Abdulrasool via llvm-dev
2017-Feb-05 05:36 UTC
[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization
On Fri, Feb 3, 2017 at 12:03 PM, Renato Golin <renato.golin at linaro.org> wrote:> Adding some people that know about libcxx and/or windows on arm. >Note that if you are trying to use Windows on ARM port, I've not tested C++ support with MS ABI, onlly the itanium ABI has been tested (there are known limitations for the C++ MS ABI on Windows ARM). Furthermore, we do not currently have the ability to generate .pdata/.xdata which means that unwinding does not work nor would exceptions (unless you use SjLj exceptions, but that means that interop with the native libraries is not possible). I've not done the port for Windows ARM64 yet either (due to lack of such a device).> Cheers, > Renato > > On 3 Feb 2017 18:15, "Haider Zeeshan (CC/ESM1) via llvm-dev" < > llvm-dev at lists.llvm.org> wrote: > >> One more thing, setting up clang 5,0 on windows, I have issues compiling >> libcxx project. >> >> Is it supported to be built with Visual studio or MinGW make files? >> >> Mit freundlichen Grüßen / Best regards >> >> Zeeshan Haider >> CC/ESM1 >> >> Tel. +49(711)811-47379 >> >> >> >> -----Original Message----- >> From: Tim Northover [mailto:t.p.northover at gmail.com] >> Sent: Freitag, 3. Februar 2017 18:05 >> To: Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com> >> Cc: llvm-dev at lists.llvm.org >> Subject: Re: [llvm-dev] Clang 5.0 support for armv8 64 bit with neon and >> auto vectorization >> >> Hi Haider, >> >> On 3 February 2017 at 07:13, Haider Zeeshan (CC/ESM1) < >> Zeeshan.Haider at de.bosch.com> wrote: >> > Being that said, can I be sure that for 64 bit arm architectures (e.g. >> arm cortex A57) the neon feature and auto-vectorization is supported as >> default by clang 5.0? >> >> Yes, unless something has gone horribly wrong they will be. The obvious >> quick test would be to compile something trivial like >> >> void foo(float *arr) { >> for (int i = 0; i < 128; ++i) >> arr[i] += 1; >> } >> >> and look at the output. >> >> Tim. >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >-- Saleem Abdulrasool compnerd (at) compnerd (dot) org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170204/185d2a74/attachment.html>