Hi all,

For a simple program with two consecutive reads to same registers.

0x80483e3:   mov    0x8049ce0,%eax           (a)
0x80483e8:   mov    0x8049cd0,%eax           (b)

IR generated by valgrind :

IMark(0x80483E3, 5, 0)           //denotes start of an istruction
PUT(60) = 0x80483E3:I32

IMark(0x80483E8, 5, 0)
PUT(60) = 0x80483E8:I32
...

Valgrind seems to ignore redundant reads. In the example instruction  (a)
doesn't generate any IR statements and hence can't be captured in the trace
as a load instruction.
Is this an expected behaviour?



Regards,
pankaj
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to