search for: ashi08104

Displaying 14 results from an estimated 14 matches for "ashi08104".

2013 Mar 04
2
[LLVMdev] ARM assembler's syntax in clang
...R7,=DataTable But clang gives error: unexpected token in operand to the '=', Then I change the code to: LDR R7,=DataTable The error becomes: unsupported relocation on symbol. How can I get around this in clang? Thanks in advance! On Mon, Feb 25, 2013 at 7:14 PM, Ashi <ashi08104 at gmail.com> wrote: > Hi,all, > I've some problem when using clang compile my ARM assembly code: > > 1 .qn directive > In GAS, .qn directive is used to create typed and/or indexed register > aliases for use in Advanced SIMD Extension (Neon) instructions.( > http://sour...
2013 Mar 05
0
[LLVMdev] ARM assembler's syntax in clang
...und this in clang? My problem is actually how to load external symbol in Clang's integrated-as? I've tried to learn some trivial c code's assembly output, but find there are many linker related symbol and really confusing. Thanks in advance! On Mon, Mar 4, 2013 at 4:48 PM, Ashi <ashi08104 at gmail.com> wrote: > Hi, all. Another problem in ARM assembly: I use LDR to load an external > symbol : > > LDR R7,=DataTable > > But clang gives error: unexpected token in operand to the '=', > Then I change the code to: > > LDR R7,=DataTabl...
2013 Mar 06
3
[LLVMdev] ARM assembler's syntax in clang
...d this in clang? My problem is actually how to load external symbol in Clang's integrated-as? I've tried to learn some trivial c code's assembly output, but find there are many linker related symbol and really confusing. Thanks in advance! On Mon, Mar 4, 2013 at 4:48 PM, Ashi <ashi08104 at gmail.com> wrote: Hi, all. Another problem in ARM assembly: I use LDR to load an external symbol : LDR R7,=DataTable But clang gives error: unexpected token in operand to the '=', Then I change the code to: LDR R7,=DataTable The error becomes: unsupported relocat...
2013 Mar 07
0
[LLVMdev] ARM assembler's syntax in clang
...ternal symbol in > Clang's integrated-as? I've tried to learn some trivial c code's assembly > output, but find there are many linker related symbol and really confusing. > > Thanks in advance! > > **** > > ** ** > > On Mon, Mar 4, 2013 at 4:48 PM, Ashi <ashi08104 at gmail.com> wrote:**** > > Hi, all. Another problem in ARM assembly: I use LDR to load an external > symbol : > > LDR R7,=DataTable > > But clang gives error: unexpected token in operand to the '=', > Then I change the code to: > > LDR R7,=...
2013 Feb 14
2
[LLVMdev] ARM assembler's syntax in clang
...n other (OSS) ARM assemblers and report any mismatch. We really need some more real world testing, as we're considering turning the integrated assembler by default on ARM, so your input is greatly appreciated. > > cheers, > --renato > > > On 13 February 2013 01:09, ashi <ashi08104 at gmail.com> wrote: > Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, but I can't find document about this assembler's syntax, such assembler's directive, pseudo-instruction, (I assumed it follows the ARM Unified Assembly Language in instructions), where...
2013 Feb 13
0
[LLVMdev] ARM assembler's syntax in clang
...it on, throw code that works on other (OSS) ARM assemblers and report any mismatch. We really need some more real world testing, as we're considering turning the integrated assembler by default on ARM, so your input is greatly appreciated. cheers, --renato On 13 February 2013 01:09, ashi <ashi08104 at gmail.com> wrote: > Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, > but I can't find document about this assembler's syntax, such assembler's > directive, pseudo-instruction, (I assumed it follows the ARM Unified > Assembly Language in instr...
2013 Feb 13
2
[LLVMdev] ARM assembler's syntax in clang
Hi,all. Since the recent clang(3.2) has an integrated assembler for ARM, but I can't find document about this assembler's syntax, such assembler's directive, pseudo-instruction, (I assumed it follows the ARM Unified Assembly Language in instructions), where can I get such information? Thanks! ashi
2013 Feb 19
0
[LLVMdev] ARM assembler's syntax in clang
...*/ push {r4, r5} ldr r3, [r1] ldr r4, [r2] add r5, r3, r4 str r5, [r0] pop {r4, r5} bx lr ===========end============================================= Best regards, ashi On Thu, Feb 14, 2013 at 10:11 PM, ashi <ashi08104 at gmail.com> wrote: > Thanks, Renato. > I'm actually porting a project which is based on GAS to iOS platform. I'll > report my result. > > Best regards! > ashi > > On Feb 13, 2013, at 6:20 PM, Renato Golin <renato.golin at linaro.org> wrote: > > I do...
2013 Feb 25
0
[LLVMdev] ARM assembler's syntax in clang
Hi,all, I've some problem when using clang compile my ARM assembly code: 1 .qn directive In GAS, .qn directive is used to create typed and/or indexed register aliases for use in Advanced SIMD Extension (Neon) instructions.( http://sourceware.org/binutils/docs/as/ARM-Directives.html#ARM-Directives) But clang's integrated-as seems have different syntax, for example, my code: input .qn
2013 Feb 23
2
[LLVMdev] ARM assembler's syntax in clang
Hi, Jim, Why "asm" name is a horrible hack? Do you have any suggestion for cross-platform support of my ARM assembly code? Thanks! ashi On Feb 21, 2013, at 2:00 AM, Jim Grosbach <grosbach at apple.com> wrote: > You were correct the first time. That post is talking about a Windows target. Ashi is working on iOS. Underscores are normal and expected. Using an "asm" name
2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
> And be warned that the PC doesn't point at the next instruction when you use it like this - I believe you don't need to modify it at all if you swap the pop and the .long. Bernie, is it related to ARM pipeline? I'm interesting in this, is there any other additional information? On Fri, Mar 8, 2013 at 4:59 AM, Tim Northover <t.p.northover at gmail.com>wrote: > Hi Ashi,
2013 Mar 07
2
[LLVMdev] ARM assembler's syntax in clang
Hi Ashi, > ld: illegal text-relocation to _data_table in table.o from foo in > use_table.o for architecture armv7 It looks like you're using iOS. I'm not familiar with the exact workings of that platform, but I think a similar message would occur in ELF-land. If iOS *is* comparable, your issue is that symbols in dynamically loaded objects can't (usually) be referenced directly
2013 Feb 20
0
[LLVMdev] ARM assembler's syntax in clang
>Apple requires a leading _ for all external symbols. So "works as >expected". Thanks. Do you have any advice to make the code work both under Apple and GNU gcc? Best regards, ashi On Tue, Feb 19, 2013 at 8:20 PM, Joerg Sonnenberger <joerg at britannica.bec.de > wrote: > On Tue, Feb 19, 2013 at 06:53:19PM +0800, Ashi wrote: > > My develop environment is: >
2013 Feb 20
0
[LLVMdev] ARM assembler's syntax in clang
But it's unreasonable that if I declare a function 'foo()', then I have to implement '_foo()' in assembly, doesn't it? Best regards, ashi On Wed, Feb 20, 2013 at 10:01 AM, Tyler Hardin <tghardin1 at catamount.wcu.edu>wrote: > > Do you have any advice to make the code work both under Apple and GNU > gcc? > > The leading underscore for external