How can the compiler improve the efficiency of some processors with branch prediction mechanisms?
What will be an ideal response?
Some processors allow the compiler to set/clear bits in the op?code that tell the processor whether to treat this
branch as taken or not taken; for example, if you have a loop in a high level language, the terminating conditional
branch will be taken back to the start of the loop n?1 times for n iterations. The compiler would set the take
branch bit in the opcode and the processor would automatically assume ‘branch taken’.
You might also like to view...
Tim needs the background of a text box to be green. He should do which of the following?
A. Change the shape effects. B. Change the shape outline. C. Change the shape fill. D. Change the shape position.
Which setting in Windows 7?s Compatibility tab disables all display features such as Aero?
A. Disable advanced features B. Disable display scaling on high DPI settings C. Disable desktop composition D. Disable Aero desktop
A(n) ____________________ is any element in Outlook the contains information.
Fill in the blank(s) with the appropriate word(s).
Any ____ block might throw an Exception for which you did not provide a catch block.
A. try B. throws C. finally D. Exception