






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Q: EPIC takes a non-unit assumed latency approach to decrease hardware complexity and costs. True or False
Q: EPIC uses 5 bits for a template specifier to completely encode all instances of no-op instructions within a bundle. True or False
Contributor: Amit Patel
Q: Which statement(s) is(are) true? (A) Parallel architecture includes two types: SIMD and MIMD. (B) Shared Memory Model is the most common SIMD architecture. (C) In a SIMD system, each processor performs same instruction but on different data. (D) Perfomance of SIMD is worse than MIMD because synchronization is required in SIMD every step.
Q: Considering serialization, which schedule(s) is(are) correct? (A) time Process A Process B Read(A) A = A+ Write(A) Read(A) A = A / 3 Write(A) Read(B) B = B+ Write(B) Read(B) B = B / 3 Write(B)
(B) time Process A Process B Read(A) A = A+ Write(A) Read(A) A = A / 3 Write(A) Read(B) B = B / 3 Write(B) Read(B) B = B+
Write(B)
time Process A Process B Read(A) A = A+ Write(A) Read(B) B = B+ Write(B) Read(A) A = A / 3 Write(A) Read(B) B = B / 3 Write(B)
(D) time Process A Process B Read(A) A = A / 3 Write(A) Read(A) A = A+ Write(A) Read(B) B = B+ Write(B) Read(B) B = B / 3 Write(B)
Contributor: Qilun Liu
Q1. Which of the following statements are true with regard to bus-based multiprocessor systems using an invalidation protocol.
(1) Increasing the cache size reduces the number of capacity misses in a similar manner as in case of uniprocessor systems.
(2) Increasing block size of for a cache reduces the miss rate due to an increase in the spatial locality and shared data.
order accoding to the original code sequence. This is because the multiple instructions in a basic block would share a sentinel, and so the first sentinel executed will signal the first exception.
Question B: Which of the following loops are vectorizable:
for(i=0; i<512; i++){ a[i+1] = a[i]+c[i]; }
for(i=0; i<512; i++){ a[i] = b[i] + c[i]; }
for(i=0; i<512; i++){ a[i] = b[i] + c[i]; d[i] = a[i]*2; }
for(i=0; i<512; i++){ a[i] = b[i] + c[i]; b[i+1] = e[i] - g[i]; }
for(i=0; i<512; i++){ a[i] = b[i] + c[i]; b[i+1] = e[i] - a[i]; }
Unchained vector operation latency Question C: How long will the following sequence of vector operations take on a vector processor which does not support chaining, but has two load pipelined, one add pipeline, and one multiple pipeline? Assume the processor has a latency of 10 cycles until the first result of a vector becomes available, produces 1 result/cycle thereafter, and has 64-element vector registers. All operations in this sequence use full-length vectors.
LDV v1, r LDV v2, r ADDV v3, v1, v MULV v4, v3, v
Contributor: Anand Shukla [email protected]
Q: All of the following are advantages of a VLIW system over a UAL out-of-order execution processor: no run-time dependence checks, no run-time scheduling decisions, no register renaming, simpler hardware, and a less complex compiler.
Q: This code: for i=1...N { b(i) = a(i-1) + b(i) a(i) = b(i) + c(i) } is equivalent to this vectorized code: d(1:N) = a(0:N-1) + c(1:N) b(1:N) = a(0:N-1) + b(1:N) a(1:N) = d(1:N) + b(1:N)
Contributor: Charles Clancy [email protected]
Which of the following was said by Professor Hwu in one of his lectures during the fall 2002 semester?
a) "Computer Architecture is only limitted by your imagination and your ability to translate your imagination into real logic" b) "Computer Architecture is highly contaminated by the amount of money available in the industry" c) "Don't use your winter coat on August 1st"
Q: One of the advantages of of Shared Memory (in Multiprocessors) is that they they have lower overhead for communication.
Contributor: Gustavo Medina [email protected]
Contributor: Russell Schreiber [email protected]
A. For superblock loops with a large number of iterations,
Contributor: Chao Huang [email protected]
In "A Comparison of Full and Partial Predicated Execution Support for ILP Processors" the compiler used a structure called a hyperblock in which: (a) control could only enter from the top basic block and leave in the last basic block (b) control could enter any basic block and leave any basic block (c) control could only enter the top basic block and leave any basic block (d) control could enter any basic block and leave only in the last basic block
In "Cydra 5 departmental supercomputer" schedule tearing can occur when: (a) an instruction is delayed and prevents instructions ahead of it to be stalled (b) exception handling code is inserted into a schedule (c) a mispredicted branch instruction must be removed (d) there exists resouce conflicts that cannot be resolved
Contributor: [email protected]
Which is the possible part of an action sequence in address A1 of cache?
A. M1 in Exclusive state -> M1 in Modified state ->
-> M2 in Shared state -> M1 in Modified state -> -> M2 in Modified state -> M1 in Modified state
B. M1 in Invalid state -> M2 in Invalid state -> -> M2 in Shared state, M1 in Exclusive state -> -> M2 in Modified state, M1 in Invalid state
C. M1 in Invalid state -> M1 in Exclusive state -> -> M2 in Shared state -> M1 in Shared state -> -> M2 in Shared state, M1 in Invalid state
D. M1 in Exclusive state -> M1 in Modified state -> -> M2 in Shared state, M1 in Shared state -> -> M2 in Modified state, M1 in Invalid state
E. None of above
A. In the VLIW architecture, the burden of choosing which instructions can be issued simultaneously falls on the compiler. B. Software pipelining is a technique that allows for the simultaneous execution of instructions from multiple loops. C. Vector is better when different operations occur in parallel instead of the same operation on multiple elements. D. Superscalars have a superior performance when dependencies are better determined at run time or if a VLIW compiler is not powerful enough to identify the same dependencies statically.
Contributor: Weining Gu [email protected]
Which of the following is true of the general code percolation model discussed in "Three Architectural Models for Compiler-Controlled Speculative Execution" (Chang, Warter, Mahlke, Chen, Hwu 1995)?
A) Code compiled with general code percolation will not necessarily raise an exception when an exception condition occurs.
B) Page fault handling is delayed until the branch commits.
C) Memory loads cannot percolate above branches.
D) In the dependence graph, control dependence arcs can be
Contributor: Tyler Ralston [email protected]
a) locks b) test and add c) snooping d) directory based
a) The state of each cache block. eg (shared, uncached, exclusive) b) Processors that have copies of the block when it is shared c) State updates sent on the bus by the home node d) Copy of the data being shared
Contributor: Yury Perzov
Qn: Is the statement "There is a loop-carried register anti-dependence when an instruction in an earlier iteration reads the same memory location overwritten by an instruction in a later iteration." true or false?
Qn: According to Hennessy and Patterson, "Coherence defines the behavior of reads and writes to the same memory location, while (memory) consistency defines the behavior of reads and writes with respect to accesses to other memory locations.", is that true or false?
Contributor: Chee Wai Lee [email protected]
Q: On multiprocessors with multilevel caches, coherence between caches of differing block sizes is a problem. Hennessy and Patterson, in Ch. 6, note that most multiprocessors solve this problem by:
a) Probing the higher cache levels after a lower level cache word replacement, and invalidating that word in the higher level caches.
b) Not maintaining the inclusion property, and snooping the higher level caches. c) Using a constant block size on all cache levels, but increasing associativity on the lower levels. d) Making sure cache block size is strictly a multiple of the block size of the lower level cache.
Q: In the Sentinel Scheduling model for speculative execution [Mahlke, 1993], all store instructions are unprotected because:
a) Experimental data shows little benefit in performing speculative stores. b) All instructions which overwrite an operand in an instruction interval’s live set may not be scheduled in the interval. c) Deadlock can occur when attempting to insert a store into a full store buffer, and the entry at the head of the store buffer is unconfirmed. d) Store instructions have no destination register.
Contributor: Jeff Stine [email protected]
Question 1
In IA-64, since the instructions in the same bundle is free of dependence with each other, instructions in the same bundle will always be issued in the same cycle.(true or false)
Question 2
In the "A VLIW Architecture for a Trace Scheduling Compiler" paper, pipeline interlock and pipeline stall won't happen in the VLIW machine TRACE since the complier will manage the runtime resource usage.(True/False)
Contributor: Victor Ma [email protected]