Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

On modern processors, why does the floating-point add operation take longer than the integer add operation (assume the same number of bytes in each data

image text in transcribed

image text in transcribed

On modern processors, why does the floating-point add operation take longer than the integer add operation (assume the same number of bytes in each data type)? As an example, see figure 5.12 on page 523 which shows the latency of the Intel Core i7 Haswell microprocessor. 4 Integer Floating point Operation Latency Issue Capacity Latency Issue Capacity Addition 1 1 3 1 1 Multiplication 3 1 1 5 1 2 Division 3-30 3-30 1 3-15 3-15 1 Figure 5.12 Latency, issue time, and capacity characteristics of reference machine operations. Latency indicates the total number of clock cycles required to perform the actual operations, while issue time indicates the minimum number of cycles between two independent operations. The capacity indicates how many of these operations can be issued simultaneously. The times for division depend on the data values. On modern processors, why does the floating-point add operation take longer than the integer add operation (assume the same number of bytes in each data type)? As an example, see figure 5.12 on page 523 which shows the latency of the Intel Core i7 Haswell microprocessor. 4 Integer Floating point Operation Latency Issue Capacity Latency Issue Capacity Addition 1 1 3 1 1 Multiplication 3 1 1 5 1 2 Division 3-30 3-30 1 3-15 3-15 1 Figure 5.12 Latency, issue time, and capacity characteristics of reference machine operations. Latency indicates the total number of clock cycles required to perform the actual operations, while issue time indicates the minimum number of cycles between two independent operations. The capacity indicates how many of these operations can be issued simultaneously. The times for division depend on the data values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

=+Have you been dishonorably discharged from the military?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago