期刊文献+

基于多线程LL(1)分析表自动生成的并行算法 被引量:1

Design of Parallel Algorithm on Autogeneration of LL(1) Analytical Table
下载PDF
导出
摘要 为解决编译系统工作中由于文法非终结符数量庞大造成的生成LL(1)分析表速度缓慢的问题,描述了多处理机环境下的LL(1)分析表自动生成的一种并行处理方法,并讨论了LL(1)分析表生成的并行算法的设计思想和实现策略。在采用LL(1)方法实现自顶向下语法分析的并行编译中,LL(1)分析表的生成一直处于关键地位,由于文法中的终结符和非终结符个数很多,分析表的构造成为提高语法分析速度的瓶颈问题,因此考虑采用LL(1)分析表的并行生成。算法采用多线程的工作模式,并借助于线程间的通讯机制实现,此并行处理方法对编译的并行处理和提高效率有理论和现实意义。 This article describes a parallel process method to autogenerate LL( 1 ) cessor computers, and it also discusses the designing and executing tactics in this analytical table on muhiproparallel algorithm in order to improve the efficiency of compiler. With the help of mechanism of thread intercommunication, LL( 1 ) analytical table is autogenerated on muhithread mode.
作者 闫昭 刘磊
出处 《吉林大学学报(信息科学版)》 CAS 2009年第1期85-89,共5页 Journal of Jilin University(Information Science Edition)
基金 吉林大学创新基金资助项目(450011022220)
关键词 文法 LL(1)语法分析 并行算法 并行编译 grammar LL( 1 )syntax analysis parallel algorithm parallel compiling
  • 相关文献

参考文献13

  • 1沈志宇,胡子昂.并行编译方法[M].北京:国防工业出版社,2001.
  • 2孙玉强,刘三阳,张英丽,马正华.FIRST和FOLLOW集合的并行算法设计[J].计算机工程,2004,30(21):71-73. 被引量:1
  • 3董春丽,韩林,赵荣彩.并行编译中一种线性数据和计算划分算法[J].计算机工程,2006,32(24):26-28. 被引量:5
  • 4HUANG JIN-WOEI, CHU PCHIH-PING. An Efficient Communicatin Scheduling Method for the Processor Mapping Technique Applied Data Redistribution [J]. Journal of Supercomputing, 2006, 37 (3):297-318.
  • 5STOJMENOVCI I, SEDDIGH M, ZUNIC J. Dominating Sets and Neighbor Elimination-Based Broadcasting Algorithms in Wireless Networks [ J]. IEEE Trans on Parallel and Distributed Systems, 2002, 13 (1) : 14-25.
  • 6曾绍华,魏延.共享存储器多处理机并行计算编译及调度机制[J].重庆师范大学学报(自然科学版),2006,23(1):27-30. 被引量:5
  • 7张平,李清宝,赵荣彩.共享内存结构并行程序的编译器优化[J].计算机工程与应用,2006,42(1):13-16. 被引量:1
  • 8G·ERAUD KRAWEZIK, FRANCH C. Performance Comparison of MPI and Three OpenMP Programming Styles on Shared Memory Multiprocessors [ C ] //SPAA'03. SanDiego, California, USA : ACM, 2003 : 118-127.
  • 9LI Jian-hui, ZANG Bin-yu, WU Rong, et al. Run-Time Data-Flow Analysis [ J]. Journal of Computer Science.and Technol- ogy, 2002, 17 (4): 442-449.
  • 10MATTHEW C CHILDESTER, ALAN D GEORGE, MATTHEW A, et al. Multiple-Path Execution for Chip Multiprocessers [ J]. Journal of Systems Architecture: the EUROMICRO Journal, 2003, 49 (1/2) : 33-52.

二级参考文献24

  • 1张平,赵荣彩,李清宝.基于相关性的同步优化算法[J].计算机工程,2005,31(17):68-70. 被引量:5
  • 2Chau-Wen Tseng.Compiler Optimizations for Eliminating Barrier Synchronization[C].In:the 5th ACM Symposium on Principles and Practice of Parallel Programming(PPOPP'95) ,Santa Barbara,CA, 1995.
  • 3G'eraud Krawezik ,Franck Cappello.Performance Comparison of MPI and three OpenMP Programming Styles on Shared Memory Multiprocessors[C].In : SPAA'03, San Diego, California, USA, 2003.
  • 4Robert P Wilson,Robert S French,Christopher S Wilson.SUIF:An infrastructure for Research on Parallelizing and Optimizing Compilers. US : Computer Systems Laboratory Stanford University, 1994.
  • 5Hwansoo Hart et al,Compiler-parallelized Codes of Software DSMs, US : University of Maryland.
  • 6Amy W Lim,Monica Lain.Maximizing Parallelism and Minimizing Synchronization with Affine Transforms[C].In:24th Annual ACM SIG-PLAN-SIGACT Symposium, 1997.
  • 7[1]lbarra O H, Ting-Chuen P, Sohn S M. Parallel Recognition and Parsing on the Hypercube. IEEE Trans. Comput, 1991,40
  • 8[2]Golub G H, Loan C V.Matrix Computations, (2nd Ed). the Johns Hopkins Univ. Press, 1989
  • 9[3]Bertsekas D P, Tsitsilklis J N.Paarallel and Distributed Computation:Numerical Methods. Prentice-Hall, 1989
  • 10李学干.计算机系统结构[M].第3版.西安:电子科技大学出版社,2001.

共引文献15

同被引文献8

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部