|
Multiprocessing is a key approach to high-performance computing. However, multiprocessing has problems of long memory latency and long inter-processor communication and synchronization latency. Multithreading has been proposed as a means for solving these problems. However, an effective compiler is needed to exhibit the full power of a multithreaded architecture. This study investigates several important aspects of a parallel compiler for multithreaded architecture on traditional languages (such as C and Fortran). We designed an intermediate form for compilers of multithreaded systems and proposed several program partition strategies. After evaluated them on both an ideal and a more realistic model we found it is effective.
|