Siarhei Siamashka
2011-Feb-03 10:25 UTC
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
Hi, I have submitted a bug some time ago to LLVM bugtracker: http://llvm.org/bugs/show_bug.cgi?id=8931 The problem is that I'm trying to use clang in linux system, running on ARM hardware. And this bug, as trivial as it is, seems to be a major showstopper. I wonder if I'm the only one trying to use LLVM/clang in this configuration or doing something in an unusual way? Anyway, the LLVM sources contain a comment "// FIXME: Emit FPU type", implying that emitting FPU type was actually planned. Would it be possible to fix this problem somehow? Being able to use clang in linux on ARM systems may provide additional testing coverage, so should be beneficial for LLVM project in the long run. Thanks. -- Best regards, Siarhei Siamashka -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110203/538fa816/attachment.sig>
Renato Golin
2011-Feb-03 12:14 UTC
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com> wrote:> I have submitted a bug some time ago to LLVM bugtracker: > http://llvm.org/bugs/show_bug.cgi?id=8931Hi Siarhei, This is a really silly bug with a simple fix. We have a similar patch here locally, but as this is part of another set of patches we were waiting for it to stabilise. There are some other build attributes that need to be set when you're using NEON or VFP, but I'll try to get them working without any other modification as a clean cut patch. I'll round it up and submit the patch. Thanks for reminding about it. cheers, --renato
Siarhei Siamashka
2011-Feb-03 13:38 UTC
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Thursday 03 February 2011 14:14:28 Renato Golin wrote:> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>wrote:> > I have submitted a bug some time ago to LLVM bugtracker: > > http://llvm.org/bugs/show_bug.cgi?id=8931 > > Hi Siarhei, > > This is a really silly bug with a simple fix. > > We have a similar patch here locally, but as this is part of another > set of patches we were waiting for it to stabilise. There are some > other build attributes that need to be set when you're using NEON or > VFP, but I'll try to get them working without any other modification > as a clean cut patch. > > I'll round it up and submit the patch. Thanks for reminding about it.OK, thanks. It's good to know that somebody is working on this. LLVM/clang is making a really good progress with the regards to ARM support and I'm looking forward to the next release. Other than this minor issue, clang 2.8 already looks quite good and can be used to successfully compile some real programs on ARM (and do this correctly enough to pass regression tests). -- Best regards, Siarhei Siamashka -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110203/a03bd65e/attachment.sig>
Siarhei Siamashka
2011-Feb-25 20:16 UTC
[LLVMdev] ARM ELF target and the use of VFP/NEON instructions
On Thursday 03 February 2011 14:14:28 Renato Golin wrote:> On 3 February 2011 10:25, Siarhei Siamashka <siarhei.siamashka at gmail.com>wrote:> > I have submitted a bug some time ago to LLVM bugtracker: > > http://llvm.org/bugs/show_bug.cgi?id=8931 > > Hi Siarhei, > > This is a really silly bug with a simple fix. > > We have a similar patch here locally, but as this is part of another > set of patches we were waiting for it to stabilise. There are some > other build attributes that need to be set when you're using NEON or > VFP, but I'll try to get them working without any other modification > as a clean cut patch. > > I'll round it up and submit the patch. Thanks for reminding about it.Hi Renato, I noticed that support for some elf eabi attributes has been added to LLVM and it is a good progress. But still this is insufficient. Now with the schedule for 2.9 available, would it be possible to resolve this missing ".fpu" directive issue for 2.9 release in order to have clang working on ARM linux systems out of the box without patching? Thanks. -- Best regards, Siarhei Siamashka
Apparently Analagous Threads
- [LLVMdev] ARM ELF target and the use of VFP/NEON instructions
- [LLVMdev] ARM ELF target and the use of VFP/NEON instructions
- [LLVMdev] ARM ELF target and the use of VFP/NEON instructions
- [LLVMdev] ARM ELF target and the use of VFP/NEON instructions
- [LLVMdev] ARM ELF target and the use of VFP/NEON instructions