Question: 1a. Consider the following assembly code for two C functions. double f1 (double a, double b, double c, double d); f1: addsd8xmm3, %xmm1 movapd %xmm1,

 1a. Consider the following assembly code for two C functions. double

1a. Consider the following assembly code for two C functions. double f1 (double a, double b, double c, double d); f1: addsd8xmm3, %xmm1 movapd %xmm1, %xmm9 ret double f2 (double a, double b, double c, double d); F2: addsd %xmm1, %xmm2 Ret Which of the above function can do faster? A. f1 is faster when the target processor has more than 1 FP Add unit. B. f2 is faster when the target processor has more than 1 FP Add unit. C. Neither, both are equally fast. D. f1 always faster regardless of the target processor E. f2 always faster regardless of the target processor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!