search for: movn

Displaying 20 results from an estimated 31 matches for "movn".

Did you mean: movl
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
.../home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix mov r1, 1 ^ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 ^~~~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 ^~~~~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:33...
2018 Dec 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
I am currently trying to compile a pretty simple program to work on an experimental board. It contains an (FPGA-version of) an ARMv4 processor. So basically, I try this (on my Ubuntu 18.04.1 LTS): clang -v --target=arm-none-eabi -c barehello.c -o barehelloCLANG.o clang -v --target=arm-none-eabi -c io.c -o io.o clang -v --target=arm-none-eabi barehelloCLANG.o io.o -o helloCLANGstatic -static
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...iler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix >> mov r1, 1 >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' >> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 >> ^~~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' >> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 >> ^~~~~ >> /home/llvm_all/llvm/projects...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...iler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix >> mov r1, 1 >> ^ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' >> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 >> ^~~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' >> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 >> ^~~~~ >> /home/llvm_all/llvm/projects...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...ler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix > > mov r1, 1 > > ^ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' > > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > > ^~~~ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' > > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > > ^~~~~ > > /home/llvm_all/llvm/projec...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...:2: error: unknown use of instruction mnemonic without a size suffix > >>> mov r1, 1 > >>> ^ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' > >>> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > >>> ^~~~ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' > >>> lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > >>> ^~~~~ &...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...vm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix > mov r1, 1 > ^ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > ^~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/bui...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...vm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:33:2: error: unknown use of instruction mnemonic without a size suffix > mov r1, 1 > ^ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:2: error: invalid instruction mnemonic 'lsrs' > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > ^~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/clzsi2.S:35:19: error: invalid instruction mnemonic 'movne' > lsrs r2, r0, 16; movne r0, r2; addeq r1, 16 > ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/bui...
2006 Aug 22
0
[LLVMdev] selecting select_cc
...> I am trying to add support for select_cc. In ARM it can be implemented > with: > > mov $dst, $falseVal > cmp $a, $b > moveq $dst, $trueVal The more normal ARM code, as produced by assembly writers and compilers that I've seen, is cmp $a, $b moveq $dst, $trueVal movne $dst, $falseVal e.g. at the end of a function returning r0 orr r0, r0, #0x40 cmp r0, #0xfe moveq r0, #1 movne r0, #0 since only one mov instruction is executed and the logic is clearer to the reader. I may be out of date here, but a skipped instruction takes one S-cycle whereas...
2018 Sep 13
2
[GlobalISel][MIPS] Legality and instruction combining
...(s1) = G_ICMP intpred(sgt), %0(s32), %1     %5:_(s32) = G_SELECT %4(s1), %2, %3 On mips 32, integer compare uses i32 as result and that result is zero extended. For G_SELECT, we will select instructions that check whether "test register" was zero or not (selected instructions are movz or movn). Test register has size 32, having that in mind, idealy, legalizer should produce     %4:_(s32) = G_ICMP intpred(sgt), %0(s32), %1     %5:_(s32) = G_SELECT %4(s32), %2, %3 after combining all extends and truncs. Currently, it is not possible to widen test register (type 1) in G_SELECT and we co...
2015 Feb 10
3
[LLVMdev] Bug in ARM Thumb inline asm?
...mov r3, ip 10: df00 svc 0 12: f7ff fffe bl 0 <__syscall_ret> 16: 9a00 ldr r2, [sp, #0] 18: 9901 ldr r1, [sp, #4] 1a: 2800 cmp r0, #0 1c: bf1c itt ne 1e: f04f 32ff movne.w r2, #4294967295 ; 0xffffffff 22: f04f 31ff movne.w r1, #4294967295 ; 0xffffffff 26: 4610 mov r0, r2 28: b003 add sp, #12 2a: bd90 pop {r4, r7, pc} The question is, does the line register long r7 __asm__("r7") = n;...
2007 Sep 24
0
[LLVMdev] RM Build
...no such instruction: `bne .L11' /tmp/ccYAgFFY.s:58: Error: no such instruction: `ldr r3,.L14+8' /tmp/ccYAgFFY.s:59: Error: expecting operand after ','; got nothing /tmp/ccYAgFFY.s:60: Error: no such instruction: `ldrne r0,.L14+12' /tmp/ccYAgFFY.s:61: Error: no such instruction: `movne lr,pc' /tmp/ccYAgFFY.s:62: Error: no such instruction: `movne pc,r3' /tmp/ccYAgFFY.s:64: Error: expecting operand after ','; got nothing /tmp/ccYAgFFY.s:65: Error: invalid char '[' beginning operand 2 `[r5' /tmp/ccYAgFFY.s:66: Error: no such instruction: `ldmfd sp!,{r4,...
2006 Aug 21
5
[LLVMdev] selecting select_cc
I am trying to add support for select_cc. In ARM it can be implemented with: mov $dst, $falseVal cmp $a, $b moveq $dst, $trueVal My current strategy is to expand select_cc in two ARM nodes: ARM::SELECT and ARM::CMP. The two nodes would be connected by a flag edge. ARM::CMP would then expand to "cmp $a, $b". This instruction has no results. It only alters the CPSR (current program
2013 Oct 25
5
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
Both armasm and gnu as support an ldr pseudo instruction for loading constants that lowers to either a mov, movn, or a pc-relative ldr from the constant pool. It would be great if the llvm integrated assembler could support this feature as well. For example, using gnu as to compile this code: .text foo: ldr r0, =0x1 ldr r0, =-0x1 ldr r0, =0x1000001 ldr r0, =bar ldr r0, =...
2013 Oct 26
2
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
...pport for ldr pseudo instruction in ARM integrated assembler On 25 October 2013 18:33, David Peixotto < <mailto:dpeixott at codeaurora.org> dpeixott at codeaurora.org> wrote: Both armasm and gnu as support an ldr pseudo instruction for loading constants that lowers to either a mov, movn, or a pc-relative ldr from the constant pool. It would be great if the llvm integrated assembler could support this feature as well. Hi David, As much as I think that it's important to add support for old codebases to be compiled, I also have to consider the importance of compatibility...
2013 Oct 25
0
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
On 25 October 2013 18:33, David Peixotto <dpeixott at codeaurora.org> wrote: > Both armasm and gnu as support an ldr pseudo instruction for loading > constants that lowers to either a mov, movn, or a pc-relative ldr from the > constant pool. It would be great if the llvm integrated assembler could > support this feature as well. > Hi David, As much as I think that it's important to add support for old codebases to be compiled, I also have to consider the importance of compa...
2013 Oct 29
0
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
...n > Subject: Re: Add support for ldr pseudo instruction in ARM integrated assembler > > On 25 October 2013 18:33, David Peixotto <dpeixott at codeaurora.org> wrote: > Both armasm and gnu as support an ldr pseudo instruction for loading > constants that lowers to either a mov, movn, or a pc-relative ldr from the > constant pool. It would be great if the llvm integrated assembler could > support this feature as well. > > Hi David, > > As much as I think that it's important to add support for old codebases to be compiled, I also have to consider the im...
2013 Oct 25
3
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
...d Barton; Amara Emerson Subject: Re: Add support for ldr pseudo instruction in ARM integrated assembler On 25 October 2013 18:33, David Peixotto <dpeixott at codeaurora.org> wrote: Both armasm and gnu as support an ldr pseudo instruction for loading constants that lowers to either a mov, movn, or a pc-relative ldr from the constant pool. It would be great if the llvm integrated assembler could support this feature as well. Hi David, As much as I think that it's important to add support for old codebases to be compiled, I also have to consider the importance of compatibility...
2013 Oct 25
0
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
...n > Subject: Re: Add support for ldr pseudo instruction in ARM integrated assembler > > On 25 October 2013 18:33, David Peixotto <dpeixott at codeaurora.org> wrote: > Both armasm and gnu as support an ldr pseudo instruction for loading > constants that lowers to either a mov, movn, or a pc-relative ldr from the > constant pool. It would be great if the llvm integrated assembler could > support this feature as well. > > Hi David, > > As much as I think that it's important to add support for old codebases to be compiled, I also have to consider the im...
2010 Oct 08
0
[LLVMdev] Flag output used by two other nodes in DAG
Hello, Edmund, > Is it, or should it be legal for a Flag output to be used as input by > more than one other node? It's illegal. Multiple uses of the flag output do not make any sense, this breaks the semantics of flag operands. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University