













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!














A) Introduction
B) Processor Architecture
C) Instruction Scheduling Strategy
D) Static Code Scheduling
E) Estimation
F) Conclusion
G) References
Why do we present multithreaded processor architecture?
The generation of high quality images requires great processing power. Furthermore , modelling the real world as faithfully as possible , intensive numerical computations are also needed.This architecture could run such a graphics system.
To give an example ; Simulation results show that by executing 2 and 4 threads in parallel on a nine-functional-unit processor , a 2.02 and a 3.72 times speed- up , respectively , can be achieved over a conventional RISC processor.
Concurrent Multithreading
Attemps to remain active during long latencies due to remote memory access.
When a thread encounters an absence of data , the processor rapidly switches between threads.
Parallel Multithreading
Within a processor is a latency hiding technique at the instruction level.
When an instruction from a thread is not able to be issued because of either a control or data dependency within the thread , an independent instruction from another thread is executed.
The processor is provided with several instruction queue unit and
Each thread slot , associated with a program counter , makes up a
Instruction queue unit : Has a buffer which saves some instructions succeeding the instruction indicated by the program counter.
Decode Unit : Gets an instruction from an instruction queue unit and decodes it. Branch instructions are executed within the decode unit.
When an instruction is not selected by an instruction schedule unit ,
selected.
a full register set private to a thread. Each bank has two read ports and one write port. When a thread is executed the bank allocated for the thread is logically bound to the logical processor.
between logical processors at the register-transfer level.
Instruction Pipeline
S ; This stage is inserted for the dynamic scheduling in instruction schedule units. Required operands are read from registers in stage S.
EX ; This stage is dependent on the kind of instruction.
W ; Result value is written back to a register.
C) Instruction Scheduling Strategy
Dynamic inst. scheduling policy is presented in the inst. schedule unit which works in one of two modes :
Main Goal : The complier reorders the code without consideration of
other threads , and concentrates on shortening the the processing time
each thread.
A new algorithm which makes the most of the function standby station
and instruction schedule units has been developed.
Algorithm employs a resource reservation table and standby table.
Resource Reservationtion Table
is executed.
Standby Table
Explicit-rotation mode enables the complier to know which instruction is selected.
1.83 times speed-up is gained by parallel execution by using 2 thread slots although all of the hardware of a single-threaded processor is not duplicated in processor. By using 4 thread slots 2.89/1.83 = 1.58 we gain less effective increase. When 8 thread slots are provided , the utilization of the busiest functional unit , load/store unit , becomes 99%. This is the reason why speed up is saturated at only 3.22 times. Addition of another load/store unit improves speed-up ratios by 10.4~79.8 %.
Stand-by stations improve the speed-up ratio by 0~2.2%.
In the case of application programs whose thread is rich in fine- grained parallelism , greater improvement can be achieved.
Strategy B is overall superior to other strategies. It achieves the performance improvement by 0~19.3 %.
The object code contains three load instructşons and store instruction , so at least (3+1)*2=8 cycles are required for one iteration.