Discussion:
[gem5-users] Does gem5 count float multiplications?
Da Zhang
2018-06-09 21:02:52 UTC
Permalink
Hey guys,

I am trying to add floating point multiplications (so do floating point
dividing and comparing) to the benchmarks as instruments so that I can use
the number of floating point multiplications as a counter for the
benchmarks during simulation. I see there is FloatMult next to FloatAdd, so
I assume it means float multiplication. However, all of my experiments show
0s.
Does gem5 capture number of floating point multiplications? Or was I
looking at the wrong place in the stats file? I also tried floating point
dividing (FloatDiv) and comparing (FloatCmp), but both are always 0s.

best,
Da
Tariq Azmy
2018-06-10 23:05:42 UTC
Permalink
Did you look into SimdFloatMult, SimdFloatDiv, and SimdFloatCmp in the
stats and see if there are any numbers listed in there? The operation might
have been executed with sse instruction.
Post by Da Zhang
Hey guys,
I am trying to add floating point multiplications (so do floating point
dividing and comparing) to the benchmarks as instruments so that I can use
the number of floating point multiplications as a counter for the
benchmarks during simulation. I see there is FloatMult next to FloatAdd, so
I assume it means float multiplication. However, all of my experiments show
0s.
Does gem5 capture number of floating point multiplications? Or was I
looking at the wrong place in the stats file? I also tried floating point
dividing (FloatDiv) and comparing (FloatCmp), but both are always 0s.
best,
Da
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Da Zhang
2018-06-11 18:06:06 UTC
Permalink
They are also 0s.
Post by Tariq Azmy
Did you look into SimdFloatMult, SimdFloatDiv, and SimdFloatCmp in the
stats and see if there are any numbers listed in there? The operation might
have been executed with sse instruction.
Post by Da Zhang
Hey guys,
I am trying to add floating point multiplications (so do floating point
dividing and comparing) to the benchmarks as instruments so that I can use
the number of floating point multiplications as a counter for the
benchmarks during simulation. I see there is FloatMult next to FloatAdd, so
I assume it means float multiplication. However, all of my experiments show
0s.
Does gem5 capture number of floating point multiplications? Or was I
looking at the wrong place in the stats file? I also tried floating
point dividing (FloatDiv) and comparing (FloatCmp), but both are always 0s.
best,
Da
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...