• Optimization of Neon Intrinsics on ARM cortexa53

    khan777
    khan777

    I am using ARMv8 GCC compiler and I would like to optimize Neon Intrinsics code for better execution time performance. I have already tried loop unrolling and I am using look up table for the computation of log10. Any ideas?

    Here is the code:

    static inline…

    • 2 months ago
    • Processors
    • Cortex-A / A-Profile forum
  • How to flush the pipeline of a processor using XScale-compatible Assembly?

    rbedin
    rbedin

    Hello,

    Some friends and I are playing with a Cortex-A15 core (using a Beagleboard) but, due to compatibility with some legacy code, we need to use the --cpu=xscale option when building our executable. We were able to perform a board startup by using the…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARM v7 Instruction Set Architecture Opcode Code

    DavidSV2017
    DavidSV2017

    Hello,

    I am working with some ARM hardware and I wrote a program in ARM Assembly. The ARM hardware that I am using requires the the program to be in HEX values and I found a website online that allowed me to convert the ARM Assembly language to HEX, the…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Starting with Arm assembly to obtain machine code

    t.d.garland100
    t.d.garland100

    I am trying to take an ARM LEGv8 assembly code to input into an assembler to obtain the machine code.  I have been searching for tutorials on this for using Eclispe, but I have not. Even successful.  I have only found tutorials on starring with the C code…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Development in Assembly Language

    AnthonyPaulO
    AnthonyPaulO

    Does anyone know where I can find the toolchain for developing apps on an A57 (Raspberry Pi 3) in Assembly Language? I am looking in particular for a Windows toolchain that will allow me to cross compile, but I'll take anything at this moment since all…

    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Aarch64 Port

    Birty
    Birty

    Hi all - not sure if this is the right place to ask, so feel free to remove if it isnt....

    Im looking to get some 32bit arm assembler code ported to the armv8 architecture and am struggling to find anyone to do this work. Could you point me at anybody…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARMv8 Assembly Language IDE

    AnthonyPaulO
    AnthonyPaulO

    I'm currently using Windows Notepad to program my Raspberry Pi in assembly language and I run it through 'as' and 'ld' to create the binary output. I would like to use an editor that has syntax highlighting specific to the version of ARM I'm using (in…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Port x86_64 Intrinsics to ARM64 equivalent

    weegz
    weegz

    I am new to ARM64 assembly and intrinsics. I have a small routine that uses SSE4.1 x86_64 intrinsics for a vector dot product. I am trying to (as close as possible) replace the x86_64 intrinsics with ARM64 intrinsics. I believe with the ARM64 I will be…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-A / A-Profile forum
  • how pc is updated during execution of SWI and any simple instruction like mov R1,R15?

    dot-autobot
    dot-autobot

    when swi instruction is executed at that time it is said that pc is not updated yet so it is pointing to instruction next to swi instruction for example

    addr         code

    0x0000     swi 100
    0x0004    mov r1,r2
    0x0008    mov r2,r3


    so in this code when swi instruction…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARM assembly

    DarshanGR
    DarshanGR

    I have to write an assembly code in arm (cortex A-8) ,which assigns a value passed by the user(pass by value)  to a particular general purpose register(for  example r0).

    my function looks like this

    int assign_to_reg(int x)

    {

         MOVE_TO_R0(x);

         return 0…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Porting code From Cortex-A9 to Cortex-R7

    Ajeesh
    Ajeesh

    Hi,

     

    I have some bare metal code written for Arm cortex A9. I would like to port this code to cortex R7. Since both of them belong to ARMv7, How much effort will this take?

    I have never worked on cortex R processors. Will i be able to use the same assembly…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Porting code from Cortex-A9 to Cortex-A57

    Ajeesh
    Ajeesh

    Hi,

    I have been using I.MX6Q Sabre sd board (cortex-a9 ). I build image with my own start script and ld script. The image was loaded with u-boot. Now i would like to do the Same with Renesas R-Car M3(cortex A-57). How would i go about this? Can i use the…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • What is the equivalent instruction for QSUB in ARMv8?

    Natesh Raina
    Natesh Raina

    This is sort of intriguing for me. I couldn't find any saturation instructions using  general purpose register in ARMv8. However, there are saturation instructions for Neon registers I couldn't find the same involving general purpose register. Can anyone…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • How many ways to set a register 32 bit value?

    Robert
    Robert

    Hi,

    I find Arm has 16 bit immediate value load to register instruction, but it has no instruction to load 32 bit value to register. I am new to asm level programming. How many ways to load a register to a desired value for an Arm CPU?

    thanks,

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Use case of .cantunwind in ARM asm?

    techguyz
    techguyz

    Hi Experts,

    What is the actual use case of .cantunwind keyword in ARM asm?

    Is there any illustrations available on usage of same ?

    Regards,

    techguyz

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Disabling the MMU

    Alexandre
    Alexandre

    Hello everybody!

    I am working on a IMX-6 and i have a little problem with the MMU.

    I want to write on some registers which are blocked by the MMU, so i want to disable it. I went on this page ARM Information Center and i saw that i have to use this command…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARM/Thumb-2

    Tliche Zohra
    Tliche Zohra


    Hello everyone,

    First of all, I'm new when it comes to ARM assembly. I actually have some pieces of code written for ARM instruction set, but my target is a Cortex-M4 architecture using Thumb-2 instruction set. Do I have to re-write the whole code, change…

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • universal assembly langauge

    Adnan Kilic
    Adnan Kilic

    Hello,

    I am new to ARM,what is the best way to learn assembly?

    Any Books on the subject?

    Best Regards,Adnan Kilic.

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ASM instruction error

    techguyz
    techguyz

    Hi all,

    Some of the arm instructions like STMIACS LDRBCS are reported as error by ARMGCC. What could be the reason ?

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • C and Assembly interworking

    Prashant
    Prashant

    Hi,

    i am working with c and assembly interworking. I am trying to pass the array from c to assembly, but i am getting the error. Please help me in finding the error. The code is as follows

    #include <stdio.h> 

    #include<lpc214x.h>             …

    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Experimentation of Dual Issue

    techguyz
    techguyz

    Hi all,

    Can somebody specify asm code to experiment the dual issue of instructions and how the processor executes parallely ?

    Also i tried like performing LDM instruction followed by LSL instruction.

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Flash programming in ASM for Cortex M4

    Kashif
    Kashif

    Hello All,

    I am trying to write data into flash which i need to copy it to the SRAM later. I am doing this in assembly and this is part of the code i am trying to use.

    I have provided the addresses of the FMD, FMA and FMC registers needed for flash programming…

    • Answered
    • over 6 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • View related content throughout Processors
  • More
  • Cancel