Renato Golin via llvm-dev
2016-Oct-28 22:27 UTC
[llvm-dev] [cfe-dev] Using lld in ELLCC for different targets
On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Awesome results!I'm surprised! LLD is barely working on ARM at the moment. :)> I wonder if ARM32 BE is a real thing. I know that the processor is > bi-endian, but is there any system that uses ARM32 in big-endian mode?Yes... it is "a thing". :) ARM has two modes: BE32 and BE8 (mixed) and they can be enabled via CP15 registers. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0290g/ch06s05s01.html cheers, --renato
Rui Ueyama via llvm-dev
2016-Oct-28 22:45 UTC
[llvm-dev] [cfe-dev] Using lld in ELLCC for different targets
On Fri, Oct 28, 2016 at 3:27 PM, Renato Golin <renato.golin at linaro.org> wrote:> On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Awesome results! > > I'm surprised! LLD is barely working on ARM at the moment. :) > > > > I wonder if ARM32 BE is a real thing. I know that the processor is > > bi-endian, but is there any system that uses ARM32 in big-endian mode? > > Yes... it is "a thing". :) >Apologies for my ignorance. :)> ARM has two modes: BE32 and BE8 (mixed) and they can be enabled via > CP15 registers. >Supporting both BE and LE should be easy. We have very small amount of code to support both for MIPS.> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc. > ddi0290g/ch06s05s01.html > > > cheers, > --renato >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161028/6eec1e13/attachment.html>
Richard Pennington via llvm-dev
2016-Oct-28 22:51 UTC
[llvm-dev] [cfe-dev] Using lld in ELLCC for different targets
On 10/28/2016 05:27 PM, Renato Golin wrote:> On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> Awesome results! > I'm surprised! LLD is barely working on ARM at the moment. :) >[snip] My mistake. ARM worked for small programs, but lld failed for clang with a bunch of these errors: /home/rich/ellcc-release/bin/ld.lld: error: relocation R_ARM_CALL out of range Sorry about the misinformation. -Rich
Renato Golin via llvm-dev
2016-Oct-28 23:22 UTC
[llvm-dev] [cfe-dev] Using lld in ELLCC for different targets
Well, at least it works on some programs across all arches. That was some great testing you've done for us. :-) Thanks! Renato On 28 Oct 2016 23:51, "Richard Pennington" <rich at pennware.com> wrote:> On 10/28/2016 05:27 PM, Renato Golin wrote: > >> On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> >>> Awesome results! >>> >> I'm surprised! LLD is barely working on ARM at the moment. :) >> >> [snip] > My mistake. ARM worked for small programs, but lld failed for clang with a > bunch of these errors: > /home/rich/ellcc-release/bin/ld.lld: error: relocation R_ARM_CALL out of > range > > Sorry about the misinformation. > > -Rich >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161029/d71721ce/attachment.html>