Solved

In Compiler Optimization, Operator Strength Reduction Uses Mathematical Identities to Replace

Question 9

Multiple Choice

In compiler optimization, operator strength reduction uses mathematical identities to replace slow math operations with faster operations. Which of the following code replacements is an illustration of operator strength reduction?


A) Replace P + P by 2 * P or Replace 3 + 4 by 7.
B) Replace P * 32 by P < < 5
C) Replace P * 0 by 0
D) Replace (P < <4) - P by P * 15

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents