My CPU is Core architecture(T7100), I found in datasheet there was a event, FP_COMP_OPS_EXE, for monitoring floating point mico-ops.
And I write a very very simple benchmark,test.c to test this counter, like
then gcc -o test.out test.c
then，I use perf to monitor， the commond is, (0010 is Umask|Event_number): perf stat -e r0010 ./test.out &
And get the result
Performance counter stats for './test.out':
1,398 raw 0x10
0.001437684 seconds time elapsed
My question is how can understand the number 1,398. Accurately, my code only contains one FADD operation. Is that means the FADD is translated into 1,398 micro-ops? or I misundestand the meaning of micro-ops ?