info@avatto.com
+91-9920808017
0. 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 ?
Replace P + P by 2 * P or Replace 3 + 4 by 7.
Replace P * 32 by P < < 5
Replace P * 0 by 0
Replace (P < <4) – P by P * 15
You must be logged in to post a comment.
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login
You must be logged in to post a comment.