Professional Documents
Culture Documents
Q.Design a TLB structure for a page size of 64 KB and a physical address length of
64 bits and virtual address length of 32 bits. Why TLB misses less than that of
cache misses though TLB table size is less than the size of the cache?
7. An architect (like u) observed that in a processor configuration a sequence of
operations as shown below is happening often.
Add ra,rb->rc
add ra,rb->rc
Load rd<-(rc)
store rd->(rc)
So he advised a new addressing mode configuration as shown below to improve
the performance.
Load rd<-(ra+rb)
store rd->(ra+rb)
But the introduction of this increased the cycle time by 10%. The total load-store
instructions are only 20% of the total instructions and in those only 40% are of above
configuration. Will the new configuration proposed (by you) will result in performance
improvement or degradation. Give the reason.
9. Write a C code for removeNodeFromList() function in a double linked list. U can
find this in any Data Structure books.
Q4. find the minimal exp for a > b, where a=a0a1 and b=b0b1.