Displaying 20 results from an estimated 152 matches for "thumbv7".
2015 Nov 19
2
thumbv7 build errors "requires arm-mode"
After a recent upstream pull, my builds for ARM thumbv7 suddenly fail
with messages like:
error: instruction requires: arm-mode
21 uxtah r6, r0, r6
I use llc with -mtriple=thumbv7-unknown-unknown and llvm-mc with
-triple=thumbv7-unknown-unkown.
What's the right way to generate thumbv7 binaries?
Thanks,
-steve
2016 Jul 04
2
Simple program fails to compile depending on target os
Thanks!
I also found test/CodeGen/ARM/ghc-tcreturn-lowered.ll, which tests only for thumbv7-eabi,
so, i tried a few more variations:
[x] arm64-apple-ios
[x] arm64-apple-ios7.0.0
[x] arm64-apple-darwin
[x] armv7-apple
[x] thumbv7-apple
[x] thumbv7-apple-darwin
[x] i386-apple-ios
[x] i386-apple-darwin
[f] thumbv7-apple-ios
[f] thumbv7-apple-ios7.0.0
[f] armv7-apple-ios
I’ve also just bui...
2012 May 30
2
[LLVMdev] llc support for ARM predication ?
Hi James,
Thanks for the answer, can you elaborate on difference between thumb, thumb2, ARM, thumbv7.
I'm a bit lost right now. When specifying thumbv7 llc will generate thumb only code, not thumb2 ?
Best Regards
Seb
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of James Molloy
> Sent: Tuesday, May 29, 2012...
2015 Sep 29
2
Fwd: buildbot failure in LLVM on clang-cmake-thumbv7-a15-full-sh
This buildbot looks like it's been failing since Friday - does anyone
know/own/care about it?
---------- Forwarded message ----------
From: <llvm.buildmaster at lab.llvm.org>
Date: Mon, Sep 28, 2015 at 7:29 PM
Subject: buildbot failure in LLVM on clang-cmake-thumbv7-a15-full-sh
To: Adrian Prantl <aprantl at apple.com>, Cameron Esfahani <dirty at apple.com>,
Chris Bieneman <beanz at apple.com>, David Blaikie <dblaikie at gmail.com>,
Evgeniy Stepanov <eugeni.stepanov at gmail.com>, Matthias Braun <
matze at braunis.de>, Reid K...
2012 May 31
0
[LLVMdev] llc support for ARM predication ?
...;if-then-else" instruction).
The ARM architecture is numbered sequentially by evolution, so Thumb is
available in v4t (meaning "v4 with Thumb extension") and Thumb-2 is
available in v6t2.
v7 includes Thumb-2 by default (for A-class cores such as Cortex-A8). So
when specifying "thumbv7" as the architecture to LLVM, LLVM will
generate Thumb-2 instructions and use IT instructions for conditional
execution.
Hope this helps,
James
On 30/05/12 23:34, Sebastien DELDON-GNB wrote:
> Hi James,
>
> Thanks for the answer, can you elaborate on difference between thumb, thumb...
2014 Jun 07
2
[LLVMdev] Support for Windows Phone 8.1
...a simple a.c, with add3 function-
>
> int add3(int i, int j)
> {
> int k = i+j;
> return k;
> }
>
> * Create LLVM IR using Xcode 5.1’s clang ( *clang –S -O0 -emit–llvm a.c* )
> * Create obj file – using llc - *. /i686-apple-darwin11-llc
> -filetype=obj -mtriple=thumbv7-windows-msvc -O0 a.s *
... in general this doesn't work. The transformation from C to LLVM IR
needs to know the target triple. Try "clang
--target=thumbv7-windows-msvc a.c -c -o a.obj"? Since clang has a
built-in assembler, you should get a valid COFF file out, to the extent
that...
2014 Jun 08
2
[LLVMdev] Support for Windows Phone 8.1
...ild them on my
MAC 10.9 machine.
* Wrote a simple a.c, with add3 function-
int add3(int i, int j)
{
int k = i+j;
return k;
}
* Create LLVM IR using Xcode 5.1’s clang ( *clang –S -O0 -emit–llvm a.c* )
* Create obj file – using llc - *. /i686-apple-darwin11-llc
-filetype=obj -mtriple=thumbv7-windows-msvc -O0 a.s *
... in general this doesn't work. The transformation from C to LLVM IR needs to know the target triple. Try "clang --target=thumbv7-windows-msvc a.c -c -o a.obj"? Since clang has a built-in assembler, you should get a valid COFF file out, to the extent that cla...
2012 Jun 04
1
[LLVMdev] llc support for ARM predication ?
...> The ARM architecture is numbered sequentially by evolution, so Thumb is
> available in v4t (meaning "v4 with Thumb extension") and Thumb-2 is
> available in v6t2.
>
> v7 includes Thumb-2 by default (for A-class cores such as Cortex-A8).
> So
> when specifying "thumbv7" as the architecture to LLVM, LLVM will
> generate Thumb-2 instructions and use IT instructions for conditional
> execution.
>
> Hope this helps,
>
> James
>
> On 30/05/12 23:34, Sebastien DELDON-GNB wrote:
> > Hi James,
> >
> > Thanks for the answe...
2012 Sep 13
2
[LLVMdev] llvm-mc fixups
When I use llvm-mc’s ‘-show-encoding’, it only goes as far as printing
“fixups”:
$ echo -e "adr r0, lbl\nnop\nlbl:" | llvm-mc -triple=thumbv7 -show-encoding
Outputs:
@ encoding: [A,0xa0]
@ fixup A – offset: 0, value: lbl, kind: fixup_thumb_adr_pcrel_10
To find out that it is encoded as 0xa001, I can do:
$ echo -e "adr r0, lbl\nnop\nlbl:" | llvm-mc -triple=thumbv7
-show-encoding -filetype=obj
> tmp.o
$ llvm-o...
2014 May 28
2
[LLVMdev] Code generation support in llvm for windows phone
I am talking about Windows Mobile 8 and 8.1 and not CE.
Not sure though that the Windows 8 (ARM NT) is similar to Windows Mobile 8 platform.
I used the following command to generate the obj file
Llc.exe -mtriple=thumbv7-windows -filetype=obj <some_name>.bc
The object file generated in the above object doesn't get linked when I try to link it with the windows mobile library as it fails to recognize the object format. ( Not a valid object file )
Hope I am clear.
~rajat
-----Original Message-----
From...
2014 Jun 09
2
[LLVMdev] Support for Windows Phone 8.1
...gt; return k;
>>> }
>>>
>>> * Create LLVM IR using Xcode 5.1¹s clang ( *clang S -O0
>>> -emitllvm a.c* )
>>> * Create obj file using llc - *. /i686-apple-darwin11-llc
>>> -filetype=obj -mtriple=thumbv7-windows-msvc -O0 a.s *
>>>
>>>
>>> ... in general this doesn't work. The transformation from C to
>>> LLVM IR needs to know the target triple. Try "clang
>>> --target=thumbv7-windows-msvc a.c -c -o a.obj"? Since clang has a
>...
2014 Jun 23
2
[LLVMdev] VFP3
...lag to enable it. This applies to other
>subtarget features defined in ARM.td as well.
>
>Cheers,
>Amara
>
>On 23 June 2014 11:27, Damanjit Singh <dsingh at adobe.com> wrote:
>> How can I ensure use of VFP3 via LLVM target options? I am currently
>>using
>> thumbv7-windows-msvc as the target triple and default set of
>> llvm::TargetOptions.
>>
>> Thanks,
>> Daman
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>>...
2016 Jul 04
2
Simple program fails to compile depending on target os
Hi *,
in the process of improving the ios experience with ghc, I ran into the following issue:
the produced llvm code[1] compiles for `armv7-apple-darwin`, unless optimization level is 0,
however it fails to compile at all for `armv7-apple-ios`.
I was able to reduce the produced code, while retaining the compilation issue on `armv7-apple-ios`
to the following sample case:
—————————————————————
2014 May 16
4
[LLVMdev] Code generation support in llvm for windows phone
Hi,
Is there support available in llc to convert llvm bytecode to Windows Mobile binary?
I have tried triples like arm-pc-win32 , thumbv7-window ... but the object file generated is not getting linked to the windows native project.
Any pointers will be greatly appreciated?
Thanks,
~rajat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140516/a...
2014 Jun 07
2
[LLVMdev] Code generation support in llvm for windows phone
...tions. I suspect that is what is causing runtime crash for me.
Here's what I've tried -
Start with a.c (on my linux machine where I have llvm/clang built as of
yesterday)
int add(int i, int j) {int k = i + j; return k; }
clang -S -O0 a.c
llc -filetype=obj -mtriple=thumbv7-windows -O0 a.ll
I get a.obj from the above steps.
I take this a.obj over to my windows 8.1 machine where I have VS2013 update
2 installed
I open up a command window and run
C:\Users\kck\arm>"c:\Program Files (x86)\Microsoft Visual Studio
12.0\vc\bin\x86_arm\vcvarsx86_arm.bat"
I cr...
2012 May 24
0
[LLVMdev] MC Hammer Test results
...ilure so hopefully bugs that would have
triggered an assertion will still show up without them on.
[3] (reproduced bug triage from the error output)
[bug 1] - Decode for T1 B<c> encoding does not sign extend the 8-bit immediate
properly
reproduce with: echo 0x40 0xd0 | .../llvm-mc -triple thumbv7 -show-encoding
-disassemble -show-inst
The re-encoding has an incorrect offset when the 6th bit of the immediate is
set. A look at the code shows that the decoder uses a C++ cast to signed integer
rather than calling the SignExtend function.
[bug 2] - STRD with negative offset re-encodes to posit...
2014 Jun 18
2
[LLVMdev] Support for Windows Phone 8.1
...n LLVM sources. I am not much familiar with the LLVM source code, thus would better let the experts to do a correct fix for this issue.
2. There is something strange happening with b.w instruction in the final linked executable. I see that in the disassembly for object code (generated via LLVM with thumbv7-windows-msvc triple), the b.w instruction correctly points to the label I want. But after linking, it now points to some random address. Seems like there are some fixup issues related to b.w instruction. Note that I am using Visual Studio’s linker to create a Window’s phone app.
I would really app...
2016 Sep 05
2
Many bots don't build anything -- does anyone know why?
...l don't do anything in their compile phase in any
builds, even if they should:
http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/
http://lab.llvm.org:8011/builders/clang-ppc64be-linux
http://lab.llvm.org:8011/builders/clang-atom-d525-fedora-rel
http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15
http://lab.llvm.org:8011/builders/clang-s390x-linux
At least the ninja-win7 bot used to work fine last week Thu and early Fri,
so this looks like a recent regression. The clang_fast bots seem to still
work, so we're not flying completely blind, but we for example don't have
Windows cov...
2012 May 29
2
[LLVMdev] llc support for ARM predication ?
Hi all,
I was wondering if 'llc' is able to generate 'it' instruction for ARM Cortex-A9 target ?
Thanks for your answers
Seb
2012 May 29
0
[LLVMdev] llc support for ARM predication ?
...LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
Hi Seb,
Sure - llc can generate 'IT' instructions, but those are Thumb
instructions so will only be generated with the target triple
"thumbv7-..." instead of armv7.
Cheers,
James