Question
For a given CPU integer operations a+b, and a*b take almost identical amounts of time, for floating point (32 bit) multiplication takes approximately 3x as
For a given CPU integer operations a+b, and a*b take almost identical amounts of time, for floating point (32 bit) multiplication takes approximately 3x as long. Floating point additions and integer additions take nearly identical times. (Yes, those are nearly real numbers for Intel Haswell CPUs). For a program that is 20% logic operations (which take the same no matter what), 40% additions and 40% multiplications, derive a formula to calculate the estimated performance of changing the maths from Integer to Floating point operations on the same CPU
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started