Abstract
This paper presents the compilation technique to support the P&M (Pipelining and Multithreading) multithreaded program execution model on the SPARC processor, which has cyclic register windows. The program execution model improves the performance by running multiple user-level threads on each processor and filling the idle cycles that would otherwise be wasted waiting for messages. The integrated compilation paradigm is described systematically. The generated code is efficient, which obtains rapid context switching without sacrificing the benefit of fast procedure call.