Thanks John Reiser,

Please find my responses inline.

-Rajesh

-----Original Message-----
From: John Reiser [mailto:[email protected]] 
Sent: Saturday, July 09, 2011 10:33 PM
To: [email protected]
Subject: Re: [Valgrind-users] Unrecognized instruction at address

> I tried to use  valgrind-3.6.1 memcheck tool for platform ppc32-linux,
> 
> I cross compiled(CC=powerpc-none-linux-gnuspe-gcc) on my host(Ubuntu) and 
> copied to target board.

What model CPU chip is on your board?  What does "cat /proc/cpuinfo" say?
[M Rajesh-B22236] Here is /proc/cpuinfo values
processor       : 0
cpu             : e500v2
clock           : 1499.985015MHz
revision        : 3.0 (pvr 8021 0030)
bogomips        : 149.50

total bogomips  : 149.50
timebase        : 74999251
platform        : MPC8572 DS
model           : fsl,MPC8572DS


> disInstr(ppc): unhandled instruction: 0x10E40301
> 
>                  primary 4(0x4), secondary 769(0x301)

That instruction seems to be:
        evldd   r7,0(r4)

which is an instruction for SPE (Signal Processing Engine):
   evldd[x]         Vector Load Double Word into Double Word [Indexed]

which is described on pdf page 513 of:
   http://www.st.com/stonline/products/literature/rm/13694.pdf
   Programmer's reference manual for Book E processors
   Book E, a version of the PowerPC architecture intended for embedded 
processors


> Could you please anybody suggest some clue to solve the above issue ?

Is there a way to run the program such that the code intentionally avoids using 
SPE instructions?  Set a shell environment variable, or temporarily move some 
directory of SPE support code to another name such that the SPE code is not 
found (such as something like "mv /lib/spe /lib/spe.save"), etc.?
[M Rajesh-B22236] I don't know how to bypass SPE instruction, I will try to 
find out


Your e-mail domain says freescale.com, which has been associated with a 
designer/fabricator/marketer of these CPU chips.  What do your co-workers say?

[M Rajesh-B22236] I works as part of Software division in India. So far didn't 
consulted any one.


-- 

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes sense 
of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to