search for: movne

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

Did you mean: move
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/project...
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 > >>> ^~~~~ &g...
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/buil...
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/buil...
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
Hello, I am developing GlobalISel for MIPS. I have a few questions and observations about defining legality of generic instruction and also possible combining of instructions and artifacts in pre/post legalizer combiner or elsewhere (e.g. in some sort of instruction-select patterns). I look at legality as "If generic instruction can be selected into machine instruction, it is legal".
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,r...
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
2013 Oct 26
2
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
From: Jim Grosbach [mailto:grosbach at apple.com] Sent: Friday, October 25, 2013 4:31 PM To: David Peixotto Cc: Renato Golin; LLVM Dev Subject: Re: [LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler On Oct 25, 2013, at 3:53 PM, David Peixotto <dpeixott at codeaurora.org> wrote: Hi Renato, Thanks for the thoughtful reply. Please find my thoughts below.
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
2013 Oct 29
0
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
On Oct 25, 2013, at 6:14 PM, David Peixotto <dpeixott at codeaurora.org> wrote: > From: Jim Grosbach [mailto:grosbach at apple.com] > Sent: Friday, October 25, 2013 4:31 PM > To: David Peixotto > Cc: Renato Golin; LLVM Dev > Subject: Re: [LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler > > > On Oct 25, 2013, at 3:53 PM, David Peixotto
2013 Oct 25
3
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
Hi Renato, Thanks for the thoughtful reply. Please find my thoughts below. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation From: Renato Golin [mailto:renato.golin at linaro.org] Sent: Friday, October 25, 2013 1:11 PM To: David Peixotto Cc: LLVM Dev; Logan Chien; Gabor Ballabas; Rafael EspĂ­ndola; Richard Barton; Amara Emerson Subject:
2013 Oct 25
0
[LLVMdev] Add support for ldr pseudo instruction in ARM integrated assembler
On Oct 25, 2013, at 3:53 PM, David Peixotto <dpeixott at codeaurora.org> wrote: > Hi Renato, Thanks for the thoughtful reply. Please find my thoughts below. > > -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation > > > From: Renato Golin [mailto:renato.golin at linaro.org] > Sent: Friday, October 25, 2013 1:11 PM
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