This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue regarding running code on RVDS with cortex A8

Note: This was originally posted on 29th March 2010 at http://forums.arm.com

Hi all,

The issue is i'm trying to execute a code,written in NEON instruction set.For example,any code,say a simple for loop calculation.
When i'm step debugging,i found that code gets into infinite loop after going into __fp_init function(This function is called  by __main() before program main).
these are my compiler settings:
--arm --debug --cpu=Cortex-A8 --fpu=VFPv3 --fpmode=fast -O1 --no_inline

If i change my --fpu setting to --softfpu than whenever code reaches NEON instruction,it again goes into infinite loop.


One info i found on ARM website is that go for --fpu=VFPv3D32 which is implied NEON registers.

see the link:

[url="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0133c/index.html"]http://infocenter.arm.com/help/index.jsp?t...133c/index.html[/url]


Sadly,this option is not provided in my RVDS 4.0.only close to this option i'm getting is --fpu=VFPv3D16.

Evaluation copy should not be a problem as it includes all option of RVDS 4.0 professional.


Other answer i found is go for vfp initilization code(Application Code 133).Currently,i'm looking into it.let's see.
Even a simple hello world program  is not executing with--cpu=Cortex-A8 --fpu=VFPv3,


i hope to find a solution soon.
any help on this would be appreciated.

Regards
Suvir
0