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…
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…
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…
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…
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…
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…
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…
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…
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 1000x0004 mov r1,r20x0008 mov r2,r3
so in this code when swi instruction…
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…
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…
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…
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…
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,
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
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…
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…
I am new to ARM,what is the best way to learn assembly?
Any Books on the subject?
Best Regards,Adnan Kilic.
Hi all,
Some of the arm instructions like STMIACS LDRBCS are reported as error by ARMGCC. What could be the reason ?
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> …
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.
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…