Displaying 11 results from an estimated 11 matches for "lsrs".
Did you mean:
lars
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...rective
.syntax unified
^
/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/li...
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
...> /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
>> ^~~~~...
2018 Dec 13
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
>> ^~~~~...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...gt; /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
> > ^~~~...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ojects/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,...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ed
> ^
> /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...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...ed
> ^
> /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...
2017 Apr 11
2
LSR
...loop I am working with it's disappointing to see
that before each memory access, the base address is loaded into
register, and then the offset is added, and then the access, which is 3
instructions. It should have been just an add/sub after the previous
access before the memory access, per LSRs intentions. I wonder where
this is supposed to be handled: In some sort of target pre-isel pass
that chains the GEPs? Or is this just folded more often on other targets?
/Jonas
2016 Dec 08
2
visitShiftByConstant of DAGCombiner
...uld expand it to as more case as
possible.
The original issuse of it:
For code as below:
unsigned array[4];
unsigned foo(unsigned long x) {
return array[(x>>2)&3ul];
sequence before this canonicalisation (ARM):
foo:
.fnstart
@ BB#0: @ %entry
lsrs r0, r0, #2
movs r1, #3
ands r1, r0
lsls r0, r1, #2
ldr r1, .LCPI0_0
ldr r0, [r1, r0]
bx lr
.p2align 2
sequence after this canonicalisation:
foo:
.fnstart
@ BB#0: @ %entry
movs r1, #12
ands r1, r0
ldr r0, .LCPI0_0
ldr r0, [r0, r1]
bx lr
.p2align 2
This canonicalisa...
2017 Apr 10
2
LSR
Hi,
I find that LSR is not helping enough on avoiding unfoldable offsets for
SystemZ. When the loop has three stores with unfoldable offsets, LSR
rewrites the IV in a good way. However, if adding another store with a
foldable offset that fits already, LSR fails to rewrite the three stores.
And if I happen to add a too big *positive* offset (the first three were
negative) instead of a