Skip to contentSkip to conversation

Counting FP multiplies on Core 2

DISCUSSION Paul Mackerras 2 participants 2 messages Jan 7, 2010

lore
Share & tools
lore
#0 lore raw

The Intel manual tells me that event num 12H, umask 00H on Core 2 counts multiply operations executed, but says "Use IA32_PMC1 only". Is there a way in the raw event code to specify a particular PMC, or does the code just know that that event can only be counted on PMC1?

Paul.

#1 lore raw
Quoted 4 lines · Paul Mackerras

The Intel manual tells me that event num 12H, umask 00H on Core 2 counts multiply operations executed, but says "Use IA32_PMC1 only". Is there a way in the raw event code to specify a particular PMC, or does the code just know that that event can only be counted on PMC1?

Right, this is what Stephane is trying to implement, but he's not very fast.. maybe I should help him out.