Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

About instructions

Hi,
I'm running a program in 2 different platform which have same instruction set(Atom and Xeon)
As my prediction, regardless of branches, it should have same instruction count but in my result
the value of "INST_RETIRED.ANY - BR_INST_RETIRED.ANY" is not equal and the difference is over 10% which I thought it's not under the error tolerance.
Therefore, is there any event I didn't considered but I should?
THX!
0 Kudos
1 Reply
Highlighted
Employee
10 Views

Hi,

Please consider below factors in cross platforms:
1. Source file is same, but execution binaries may not be same.
2. Execution paths are same? (same test case?)
3. If binaries are same for Intel Atomprocessorand Intel Xeon processor, use amplxe-cl to test
a) amplxe-cl -collect lightweight-hotspots -r r001lh -- app
b) amplxe-cl -report pmu-events -r r001lh/ -filter module=app

Will you get same event counts for INST_RETIRED.ANY for app?

Regards, Peter
0 Kudos