Hi,
I installed DS-5 64-bit version in windows, but i received 32-bit code which is running on AArch32 without any issue , and it's not running on my machine with AArch64 DS-5, is there any setting which i can do to run the same code without any changes? or do i need to do any code changes in 32-bit code to run on 64-bit DS-5?
Thanks,
Divya.
This is an obvious problem as some of the instructions are not supported by the 64-bit ARM DS-5 compiler. The solution is to install support for 32-bit ARM compiler(ex:armcc) in your DS-5 environment and then compile your code using that compiler but I think you will need license for that. An another way is to use open source arm-gcc compiler which has support for almost all 32-bit instructions except for few. So you may need to modify your code a little bit for that.
So you are trying to build code to run on the A53 FVP.
Are you building using the assembler (ie files full of ASM code) or are you using inline assemble in C like this?
void func()
{
_asm("str x0,[x1]");
}
What tool-chain are you using, gcc, armcc, clang?