Improved Parallel Lexical Analysis Using OpenMP on Multi-Core Machines

被引:3
作者
Barve, Amit [1 ]
Joshi, Brijendra Kumar [2 ]
机构
[1] VIIT, CSE Dept, Pune, Maharashtra, India
[2] MCTE, Mhow, Madhya Pradesh, India
来源
PROCEEDINGS OF 4TH INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATION AND CONTROL(ICAC3'15) | 2015年 / 49卷
关键词
Parallel Lexical Analysis; Multi-Core Machines; OpenMP;
D O I
10.1016/j.procs.2015.04.246
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Lexical Analysis is the first and foremost step of a compiler. Various attempts have been made to improve the lexical analysis phase by exploiting the inherent parallel processing capability of multi-core machines. In this paper we present an approach for doing parallel lexical analysis using OpenMP. We demonstrate the improvement in lexical analysis phase by automatically generating C programs having up to 10,000 potentially parallel constructs like if..else, for, while loops, switch..case etc. The maximum speedup achieved for 7 CPUs is 6.84. (C) 2015 The Authors. Published by Elsevier B.V. This is an open access article under CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页码:211 / 219
页数:9
相关论文
共 14 条
[1]  
Aho A. V., 1985, PRINCIPLES COMPILER
[2]  
[Anonymous], 1971, COMPILER CONSTRUCTIO
[3]  
[Anonymous], 1985, THEORY PRACTICE COMP
[4]  
[Anonymous], 2007, Compilers: principles, techniques and tools
[5]  
[Anonymous], 1975, 39 BELL LAB
[6]  
Barve A., 2013, INT J ADV COMPUTER T, V2, P26
[7]  
Barve A., 2012, CONSEG 2012 CSI 6 IN, P1
[8]  
Barve Amit, 2012, NUICONE 2012 NIRM U, p[1, 5]
[9]   Compiler Research: The Next 50 Years [J].
Hall, Mary ;
Padua, David ;
Pingali, Keshav .
COMMUNICATIONS OF THE ACM, 2009, 52 (02) :60-67
[10]  
Holub Allen I., 1993, COMPILER DESIGN IN C