Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] How well does clang perform with ARMv4?"
2015 Sep 11
2
Invalid instruction generated on armV4
I’m tying to run a rust application on armv4 architecture (arm720tdmi).
Rust is using llvm to generate native code.
Some programs are running well on the target but for more complex applications I receive a Illegal instruction :
gdb disassembling the core dump file gives :
0x401e41dc <+0>: push {r11, lr}
0x401e41e0 <+4>: mov r11, sp
0x401e41e4 <+8>: sub sp, sp, #8
2011 Apr 14
1
Bug#618616: arm build failure with latest binutils - usr/klibc/syscalls/_exit.S:29: Error: .size expression does not evaluate to a constant
tags 618616 pending
stop
On Wed, 16 Mar 2011, Lo?c Minier wrote:
> I've fixed this in Ubuntu with the attached patch, but didn't find
> where to upstream it; since you're a klibc upstream developer and since
> it probably already affects Debian, I figured it was probably best to
> send it here :-)
thank you applied after review by hpa and pushed out to klibc git.
2009 Aug 04
0
[LLVMdev] llvm-gcc-4.2-2.5 fails to build from source on arm: MACHO_DYNAMIC_NO_PIC_P undeclared
Hello, Martin
> llvm-gcc-4.2-2.5 is failing to build from source on arm, sparc,
> powerpc and ia64, only succeeding on i386 and amd64:
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=llvm-gcc-4.2;dist=unstable
> so it looks like the 2.5 release was never properly tested before it
> was published.
Unfortunately, ia64 and sparc were never considered as a 'tier-1'
targets
2010 Nov 25
0
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
Hi,
> I am using a cross compiler to compiler for the arm5 architecture. For
this
> architecture it is not allowed that a destination register is also used as
source
> register.
> In 2007 a patch was discussed at the mailing list, however my compiler
still is
> producing this result. Does anyone know if this patch is actually applied?
>
> * I use the following arguments:
2009 Aug 04
3
[LLVMdev] llvm-gcc-4.2-2.5 fails to build from source on arm: MACHO_DYNAMIC_NO_PIC_P undeclared
On 8/3/09, Anton Korobeynikov <anton at korobeynikov.info> wrote:
> > Thanks. Do you have fixes for the other ARM bloopers? This is the
> > forthcoming Debian version and it's now dying on arm-gnueabi when it
> > links cc1-dummy saying
>
> Please use the current Top-of-the-Tree version.
Sorry, that's not an option as I'm trying to fix the Debian
2012 May 11
4
[LLVMdev] Request for Help: Teach ARM target to auto-detect cpu / subtarget features
On 11/05/12 04:56, 陳韋任 wrote:
>> I've just filed PR12794: Add ARM cpu / subtarget features auto-detection. And I would very much appreciate the community's help to implement this.
>>
>> What motivated this? Well this:
>> http://www.phoronix.com/scan.php?page=news_item&px=MTA5OTM
>>
>> I believe one of the reason the benchmark numbers are totally
2010 Jan 17
2
[LLVMdev] LLVM-gcc for ARM
Thanks for your tips. But I'm still getting errors.
.../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c,c++ --with-gnu-ld=/home/arm/bin/arm-elf-ld
--with-gnu-as=/home/arm/bin/arm-elf-as
--with-cpu=cortex-a8
--target=arm-elf
Errors:
>>
checking for g++ that supports -ffunction-sections
2015 Sep 11
3
Invalid instruction generated on armV4
I’m using rust head version that currently use llvm 3.7 …
Thanks.
Frédéric.
> On 11 Sep 2015, at 13:29, Bruce Hoult <bruce at hoult.org> wrote:
>
> What LLVM version are you using?
>
> There were some bugs around switching ARM/Thumb mode on ARMv4 fixed in 3.6.
>
> On Fri, Sep 11, 2015 at 1:20 PM, Frédéric Richez <llvm-dev at lists.llvm.org <mailto:llvm-dev
2012 May 11
0
[LLVMdev] Request for Help: Teach ARM target to auto-detect cpu / subtarget features
On May 11, 2012, at 12:25 AM, James Molloy wrote:
> On 11/05/12 04:56, 陳韋任 wrote:
>>> I've just filed PR12794: Add ARM cpu / subtarget features auto-detection. And I would very much appreciate the community's help to implement this.
>>>
>>> What motivated this? Well this:
>>> http://www.phoronix.com/scan.php?page=news_item&px=MTA5OTM
2012 Jan 08
2
[LLVMdev] Possible fix for Bug 1388 - CPY instruction emitted on < ARMv6T
Hi,
I've been thinking about ways to get around this in the short term for some time,
http://llvm.org/bugs/show_bug.cgi?id=1388
An end-user workaround is possibly to use at least one register > r7 for the MOV form of the instruction.
In that case, what is listed in the bug as the CPY instruction (which is the ARMv6 version generated if both Rd and Rm are <= r7) will
become a valid MOV
2010 Nov 25
2
[LLVMdev] ARM Intruction Constraint DestReg!=SrcReg patch?
Hi,
I am using a cross compiler to compiler for the arm5 architecture. For
this architecture it is not allowed that a destination register is also
used as source register.
In 2007 a patch was discussed at the mailing list, however my compiler
still is producing this result. Does anyone know if this patch is
actually applied?
* I use the following arguments:
llvm-gcc -mfpu=vfp -mlittle-endian
2011 Mar 30
0
(fwd) Bug#618616: arm build failure with latest binutils - usr/klibc/syscalls/_exit.S:29: Error: .size expression does not evaluate to a constant
fwd'ing to klibc malinglist.
----- Forwarded message from Lo?c Minier <lool at dooz.org> -----
Date: Wed, 16 Mar 2011 23:34:51 +0100
From: Lo?c Minier <lool at dooz.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Bug#618616: arm build failure with latest binutils -
usr/klibc/syscalls/_exit.S:29: Error: .size expression does not
evaluate to a
2011 Feb 16
2
fwd: fix up ARM assembly to use 'bx lr' in place of 'mov pc, lr'.
hello vorlon,
got notified of your patch,
will apply next days upstream unless some critiques are voiced on ml.
thanks.
--
maks
----- Forwarded message from Steve Langasek <steve.langasek at canonical.com> -----
Date: Wed, 16 Feb 2011 22:05:42 -0000
From: Steve Langasek <steve.langasek at canonical.com>
Subject: [Bug 527720] Re: thumb2 porting issues identified: klibc uses
2010 Jan 17
0
[LLVMdev] LLVM-gcc for ARM
Moreover,
../llvm-gcc4.2-2.6.source/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/home/LLVM/llvm-2.6/ --enable-languages=c,c++
--with-gnu-ld=/home/arm/bin/arm-elf-ld
--with-gnu-as=/home/arm/bin/arm-elf-as
--with-arch=armv7
--target=arm-elf
and then make target=arm-elf gives the following error:
Unknown arch used in --with-arch=armv7
Thanks.
--- On Sun,
2012 Apr 12
2
[LLVMdev] Question::ARM simulation and cross compilation.
Hello,
I'm trying to evaluate the performance improvement of instruction scheduling on one of the inorder ARM processor, I was looking for ARM simulator and I found two (Simplescalar/ARM and SimIt-ARM)
The code generated using llvm-2.9 and llvm-gcc and gcc 3.2.
I used these command :
$ llvm-gcc -O3 -o test1.bc -c --emit-llvm test1.c
$ llc -O3 -o test1.s -march=arm test1.bc -mcpu=strongarm110
2005 Mar 09
1
Cross compiling klibc for arm and linking shared stuff
Hi,
I am getting this:
-----
armv4-unknown-linux-gnu-ld -o tests/fcntl.shared -e main interp.o tests/fcntl.o -R libc.so /usr/lib/gcc-lib/armv4-unknown-linux-gnu/3.3.5/libgcc.a
armv4-unknown-linux-gnu-ld: internal error: aborting at /space/var/tmp/portage/binutils-2.15.90.0.3-r4/work/binutils-2.15.90.0.3/ld/ldlang.c line 3835 in lang_place_orphans
armv4-unknown-linux-gnu-ld: please report this
2008 Sep 17
2
[LLVMdev] Status of LLVM ARM port
Good day,
I have looked around for this information, but I have not been able to
gain a clear understanding: what is the status of the LLVM ARM backend?
That is, do the following work:
1. Generating Thumb code: I saw a video online where they describe
an issue with using the ARM Thumb back-end
2. Generating code for ARM9 (ARMv5?) or ARM7 (ARMv4): again, the
same presentation
2010 Feb 04
0
[LLVMdev] [patch] SPARCV9 subtarget support
Hello, Nathan
> I may need to clarify, sparcv9-* is used for the SPARCV9 ABI (ie 64-bit ABI), rather than the SPARCV9 CPU per se. It serves the same purpose as x86_64-* and powerpc64-*, which is to say it's associated with -m64, not -mcpu=v9 (although unsurprisingly -m64 does require a V9 or later CPU). I may be wrong, but I think the only distinction in ARM is between arm and thumb
2011 Jun 22
3
[LLVMdev] ARM thumb-2 instruction used for non-thumb2 CPUs
On Jun 22, 2011, at 3:16 PM, Renato Golin wrote:
> On 22 June 2011 11:49, Damjan Marion <damjan.marion at gmail.com> wrote:
>> # /opt/llvm/bin/clang -S -ccc-host-triple arm-unknown-freebsd -mcpu=arm926ej-s -mfloat-abi=soft -v -o rrx.S rrx.c
>
> Even though you specified cpu as arm9, it's probably generating
> generic ARM IR (use -emit-llvm -S and see), which defaults
2008 Oct 09
2
[LLVMdev] Status of LLVM ARM port
I have a question regarding ARM support. It was mentioned in mails below
that LLVM supports ARM v6 but a lot of ARM v6 instructions are actually
missing from ARM ISA description files( e.g. Media Instructions). Is there
any documentation mentioning the unsupported parts of v6 version
Thanks
--Kapil
On Thu, Sep 18, 2008 at 2:14 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>
> On