search for: movhi

Displaying 11 results from an estimated 11 matches for "movhi".

Did you mean: moshi
2010 Apr 08
1
[LLVMdev] compiler-rt's arm vfp o<= implementation
...n where single precision arguments are passsed // like 32-bit ints // DEFINE_COMPILERRT_FUNCTION(__lesf2vfp) fmsr s14, r0 // move from GPR 0 to float register fmsr s15, r1 // move from GPR 1 to float register fcmps s14, s15 fmstat movls r0, #1 // set result register to 1 if equal movhi r0, #0 bx lr If I read this right, the high bits of r0 are always cleared (by the movhi) while the low bits are conditionally set to 1 (by the movls), but there's nothing to clear the r0's low bits in the false case. Is this a bug or have I misunderstood the assembly? Nick --------------...
2010 Apr 09
0
[LLVMdev] compiler-rt's arm vfp o<= implementation
On 8 April 2010 02:28, Rodolph Perfetta <rodolph.perfetta at arm.com> wrote: > movhi means mov if unsigned Higher > > movls means mov if unsigned Lower or Same > > > > so depending on the comparison result r0 holds 1 or 0 > Thanks. Now that I understand the assembly, I think there's another problem. libgcc's definition of lesf2 is actually "1-(a&l...
2018 Dec 07
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...mvnlo r0, r1, asr #31 ^~~~~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' it hi ^~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' movhi r0, r1, asr #31 ^~~~~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' it ne ^~ /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:71:19: error: unknown token in express...
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/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' >> it hi >> ^~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' >> movhi r0, r1, asr #31 >> ^~~~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' >> it ne >> ^~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' >> it hi >> ^~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' >> movhi r0, r1, asr #31 >> ^~~~~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' >> it ne >> ^~ >> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...gt; > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' > > it hi > > ^~ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' > > movhi r0, r1, asr #31 > > ^~~~~ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' > > it ne > > ^~ > > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/a...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...vm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' > >>> it hi > >>> ^~ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' > >>> movhi r0, r1, asr #31 > >>> ^~~~~ > >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' > >>> it ne > >>> ^~ > >>> /ho...
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...> ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' > it hi > ^~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' > movhi r0, r1, asr #31 > ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' > it ne > ^~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:71:19: err...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...> ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:67:5: error: invalid instruction mnemonic 'it' > it hi > ^~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:68:5: error: invalid instruction mnemonic 'movhi' > movhi r0, r1, asr #31 > ^~~~~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:70:5: error: invalid instruction mnemonic 'it' > it ne > ^~ > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/arm/comparesf2.S:71:19: err...
2016 Mar 15
3
how to type-legalize a dag
...Initial Opcode index to 122 Morphed node: 0x3ea8520: i32,ch = LWZ 0x3eac3b0, 0x3ea48f8, 0x3e7e2f0<Mem:LD4[%a]> [ORD=5] ISEL: Match complete! ISEL: Starting pattern match on root node: 0x3ea44d8: i32 = Constant<0> [ID=2] Initial Opcode index to 1684 Morphed node: 0x3ea44d8: i32 = MOVHI 0x3ea48f8 ISEL: Match complete! ===== Instruction selection ends: Selected selection DAG: BB#0 'main:entry' SelectionDAG has 30 nodes: 0x3e7e2f0: ch = EntryToken 0x3ea4e20: i32 = Register %R11 0x3eac3b0: <multiple use> 0x3ea48f8: <multiple use> 0x3e7e2f0: <...