Wednesday, January 14, 2009

Arithmetic Operations Timing

In GSP-130, Systems Architecture and Assembler, we had a lab to examine different mathematical operations and the time it takes to process them. The bar chart shows the results, comparing integer and floating point add, multiply and divide.

As I expected, integer add and multiply was faster than floating point, but what surprised me was the integer divide taking longer.

No comments:

Share with your network