发明名称 COMPILER FRAMEWORK FOR SPECULATIVE AUTOMATIC PARALLELIZATION WITH TRANSACTIONAL MEMORY
摘要 A computer program is speculatively parallelized with transactional memory by scoping program variables at compile time, and inserting code into the program at compile time. Determinations of the scoping can be based on whether scalar variables being scoped are involved in inter-loop non-reduction data dependencies, are used outside loops in which they were defined, and at what point in a loop a scalar variable is defined. The inserted code can include instructions for execution at a run time of the program to determine loop boundaries of the program, and issue checkpoint instructions and commit instructions that encompass transaction regions in the program. A transaction region can include an original function of the program and a spin-waiting loop with a non-transactional load, wherein the spin-waiting loop is configured to wait for a previous thread to commit before the current transaction commits.
申请公布号 US2009217253(A1) 申请公布日期 2009.08.27
申请号 US20080035828 申请日期 2008.02.22
申请人 SUN MICROSYSTEMS, INC. 发明人 SONG YONGHONG;KONG XIANGYUN;KALOGEROPULOS SPIROS;TIRUMALAI PARTHA P.
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址