From USD 999999999999999999.99
Q.2)ย Evaluate the following expressions exactly as parenthesized ( i.e. don't use the commutative or associative laws to reorder the additions ).
a)ย [ u + { v + ( w + x ) } ] + ( y + z )
b)ย { u + ( v + w ) } + { x + ( y + z ) }
If instead of maximizing the Parallelism, we minimized the no. of registers, how many steps would the computation take ? How many steps do we save by using maximal Parallelism.
$IFT (a) :-
1)ย LD R 1 , xย ย ย ย ย ย ย ย ย ย ย ย // R 1 = xย
2)ย LD R 2 , wย ย ย ย ย ย ย ย ย ย ย // R 2 = w
3)ย ADD R 1 , R 1 , R 2ย ย ย ย //ย R 1 = R 1 + R 2
4)ย LD R 2 , vย ย ย ย ย ย ย ย ย ย ย //ย R 2 = v
5)ย ADD R 1 , R 1 , R 2ย ย ย //ย R 1 = R 1 + R 2
6)ย LD R 2 , uย ย ย ย ย ย ย ย ย ย //ย ย R 2 = u
7) ADD R 1 , R 1 ,ย R 2ย ย ย ย ย // R 1 = R 1 +ย R 2
8) LD R 2 , yย ย ย ย ย ย ย ย ย ย ย ย //ย R 2 = y
9) LD R 3 , zย ย ย ย ย ย ย ย ย ย ย ย // R 3 = z
10) ADD R 2 , R 2 , R 3ย ย ย //ย R 2 = R 2 + R 3
This site was designed with Websites.co.in - Website Builder
This website was created by a user of Websites.co.in, a free instant website builder. Websites.co.in does NOT endorse, verify, or guarantee the accuracy, safety, or legality of this site's content, products, or services. Always exercise cautionโdo not share sensitive data or make payments without independent verification. Report suspicious activity by clicking the report abuse below.
We appreciate you contacting us. Our support will get back in touch with you soon!
Have a great day!
Please note that your query will be processed only if we find it relevant. Rest all requests will be ignored. If you need help with the website, please login to your dashboard and connect to support