Pierrick Bouvier <pierrick.bouvier@linaro.org> writes:
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
I did notice there is a discrepancy between what libisns and libb
report. The libb looks like an overcount so I wonder if there are some
instructions we are not picking up but I can't see where that would be.
➜ ./qemu-hppa -plugin ./tests/plugin/libinsn.so -plugin
./tests/plugin/libbb.so,inline=true -d plugin
./tests/tcg/hppa-linux-user/sha512
1..10
ok 1 - do_test(&tests[i])
ok 2 - do_test(&tests[i])
ok 3 - do_test(&tests[i])
ok 4 - do_test(&tests[i])
ok 5 - do_test(&tests[i])
ok 6 - do_test(&tests[i])
ok 7 - do_test(&tests[i])
ok 8 - do_test(&tests[i])
ok 9 - do_test(&tests[i])
ok 10 - do_test(&tests[i])
CPU0: bb's: 54282, insns: 775697
Total: bb's: 54282, insns: 775697
cpu 0 insns: 774827
total insns: 774827
Although weirdly maybe only an hppa thing. Richard?
➜ ./qemu-aarch64 -plugin ./tests/plugin/libinsn.so -plugin
./tests/plugin/libbb.so,inline=true -d plugin
./tests/tcg/aarch64-linux-user/sha512
1..10
ok 1 - do_test(&tests[i])
ok 2 - do_test(&tests[i])
ok 3 - do_test(&tests[i])
ok 4 - do_test(&tests[i])
ok 5 - do_test(&tests[i])
ok 6 - do_test(&tests[i])
ok 7 - do_test(&tests[i])
ok 8 - do_test(&tests[i])
ok 9 - do_test(&tests[i])
ok 10 - do_test(&tests[i])
CPU0: bb's: 41513, insns: 302671
Total: bb's: 41513, insns: 302671
cpu 0 insns: 302671
total insns: 302671
Anyway:
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>