assignments 52 (51.0 %) control statements 33 (32.4 %) procedure, function calls 17 (16.7 %)etc.
Or I would have to generate assembly from the code and count them myself?
Dear Sir,
As you may be aware, distribution of instructions and operands overall can be misleading. Partly due to the fact that different architectures will require different code, but mostly due to the fact that the distribution is different during different phases of the code.
A link you may find useful:
http://www.eembc.org/techlit/coremark-whitepaper.pdf
Thanks,
- Shay Gal-On
Dir. Sw. Eng., EEMBC Technology Center