[llvm-dev] Clang 5.0 support for armv8 64 bit with neon and auto vectorization
Haider Zeeshan (CC/ESM1) via llvm-dev
llvm-dev at lists.llvm.org
Tue Feb 7 05:47:13 PST 2017
Hi Saleem,
I would require cross compiled libcxx for the arm target. I have idea to cross compile it on Linux machine and use static libraries (eg. libcxx.a) in linking on windows with clang.
I am not sure it would work but I can try. Compiling libcxx on windows is a pain as far as I have tried.
@all: Do you think I can go with cross compiled standard c++ lib from gcc on windows with clang? I have no idea that gcc compiled binaries can be linked with clang compiler? I think that is possible as the backend of clang compiler is from gcc?
Mit freundlichen Grüßen / Best regards
Zeeshan Haider
CC/ESM1
Tel. +49(711)811-47379
From: Saleem Abdulrasool [mailto:compnerd at compnerd.org]
Sent: Sonntag, 5. Februar 2017 06:36
To: Renato Golin <renato.golin at linaro.org>
Cc: Haider Zeeshan (CC/ESM1) <Zeeshan.Haider at de.bosch.com>; LLVM Dev <llvm-dev at lists.llvm.org>; Tim Northover <t.p.northover at gmail.com>; Eric Fiselier <eric at efcs.ca>; Marshall Clow <mclow.lists at gmail.com>
Subject: Re: [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<mailto: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<mailto: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<tel:%2B49%28711%29811-47379>
-----Original Message-----
From: Tim Northover [mailto:t.p.northover at gmail.com<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<mailto:Zeeshan.Haider at de.bosch.com>>
Cc: llvm-dev at lists.llvm.org<mailto: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<mailto: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<mailto: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/20170207/b13e1c34/attachment.html>
More information about the llvm-dev
mailing list