search for: ashi

Displaying 20 results from an estimated 21 matches for "ashi".

Did you mean: ashim
2013 Mar 06
3
[LLVMdev] ARM assembler's syntax in clang
Hi Ashi, Your first LDR is a pseudoinstruction that is supported by some tools (gas and armasm, at least), but not by LLVM. Roughly speaking, it turns into a PC-relative load from a literal pool. To do what you're trying to achieve you can write your own literal pool in your assembly. You can s...
2013 Mar 04
2
[LLVMdev] ARM assembler's syntax in clang
...: 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 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.( &g...
2013 Mar 07
0
[LLVMdev] ARM assembler's syntax in clang
...dk all:libtest.dylib libtest.dylib:table.o use_table.o $(CC) -v -dynamiclib $(CFLAG) $^ -o $@ table.o:table.c $(CC) -c $(CFLAG) $^ -o $@ use_table.o:use_table.s $(CC) -c -integrated-as $(CFLAG) $^ -o $@ clean: rm *.o libtest.dylib test //==end Makefile== Cheers, Ashi On Wed, Mar 6, 2013 at 11:59 PM, Bernie Ogden <bogden at arm.com> wrote: > Hi Ashi,**** > > ** ** > > Your first LDR is a pseudoinstruction that is supported by some tools (gas > and armasm, at least), but not by LLVM. Roughly speaking, it turns into a > PC-relative lo...
2013 Mar 05
0
[LLVMdev] ARM assembler's syntax in clang
...I get around 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...
2013 Feb 14
2
[LLVMdev] ARM assembler's syntax in clang
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 don't think there is such a document... > > There isn't a 1:1 compatibility assurance with any syntax, including the UAL and GAS, but there is good compatibility with most of them, focusing mo...
2013 Feb 13
2
[LLVMdev] ARM assembler's syntax in clang
...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
...* r1: *src1 * r2: *src2 */ 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...
2013 Feb 13
0
[LLVMdev] ARM assembler's syntax in clang
...s to try 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 Lan...
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 on the symbol is a horrible hack. Adding the...
2008 Jul 17
3
Slow Samba writes over NFS
...ith all global defaults (except those required). Played around with Socket Options & Max Xmit sizes but no luck, it's still slower. This doesn't sound accurate, shouldn't the Samba v3.0.x be faster than Samba v2.0.10? What config options/settings should I be looking at? Regards, Ashis
2013 Feb 25
0
[LLVMdev] ARM assembler's syntax in clang
...6.1.sdk/ my clang version is: Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) BTW, could any tell me which files implement integrated-as in clang source code, I think it may also help me by looking the source code(I've tried 'grep', but with no success.) Great Thanks! ashi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130225/c0c9b12c/attachment.html>
2013 Feb 19
2
[LLVMdev] ARM assembler's syntax in clang
On Tue, Feb 19, 2013 at 06:53:19PM +0800, Ashi wrote: > My develop environment is: > Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) > > Undefined symbols for architecture armv7: > "_add_gas", referenced from: > _main in main_ios_clang.o Apple requires a leading _ for all external symbols. So...
2013 Feb 20
0
[LLVMdev] ARM assembler's syntax in clang
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 on the symbol is a horrible hack. Adding the underscore to the name in the .s file is the correct solution. -Jim On Feb 20, 2013, at 12:04 AM, Tyler Hardin <tghardin1 at catamount.wcu.edu> wrote: > So...
2013 Feb 20
3
[LLVMdev] ARM assembler's syntax in clang
So it turns out that I was wrong. It, in fact, is not standard. But regardless, you can use asm to specify the exact name. Eg. extern int func() asm("func"); You can read more here: http://stackoverflow.com/questions/1034852/adding-leading-underscores-to-assembly-symbols-with-gcc-on-win32 Despite the title of the thread, the solution is compiler and system independent. --------------
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 i...
2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
...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, > > > 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...
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: > > Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) > > > > Undefined sy...
2008 Aug 31
0
Slow Samba writes over NFS
Hi... Same problem here, running on CentOS 5.* and 4.5. It was solved by installing the package lockdev. Then you must restart the machine. And problem fixed. ashis.v.purbhoo wrote: > > > Hello... > > Currently in the process of upgrading Samba v2.0.10 to Samba v3.0.x, while > conducting some minimal testing, it turns-out that Samba v3.0.x is > performing slower than Samba v2.0.10. > > Set-ups: > A. Samba v3.0.x --> > S...
2013 Feb 20
2
[LLVMdev] ARM assembler's syntax in clang
> Do you have any advice to make the code work both under Apple and GNU gcc? The leading underscore for external symbols is standard, if that's what you're referring to. http://en.m.wikipedia.org/wiki/Underscore#Origins_in_identifiers -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 symbols is standard, if that's what > you're referring to...