Title :
Parallel lexical analysis on multi-core machines using divide and conquer
Author :
Barve, Aabha ; Joshi, Brijendra Kumar
Abstract :
The first step in a multi-phase compiler is lexical analysis that collects characters of a source program and transforms them into tokens for other phases. Tools have been developed to generate such tokens automatically but sequentially. In modern era, multi-core machines are very common and hence it gives opportunity to parallelize tokenization to improve lexical analysis phase. This paper discusses three approaches to parallelize lexical analysis and compares their performances. It is observed that speedup achieved by these approaches is substantial.
Keywords :
divide and conquer methods; multiprocessing systems; parallel machines; program compilers; divide and conquer; multicore machine; multiphase compiler; parallel lexical analysis; parallelize lexical analysis; tokenization parallelization; Flex; Multi-core; Parallel Lexical Analysis; Processor Affinity;
Conference_Titel :
Engineering (NUiCONE), 2012 Nirma University International Conference on
Conference_Location :
Ahmedabad
Print_ISBN :
978-1-4673-1720-7
DOI :
10.1109/NUICONE.2012.6493218