{"title":"A microprogrammed interpreter for concurrent euclid","authors":"Kuarlall Lall, J. Atwood","doi":"10.1145/75362.75396","DOIUrl":null,"url":null,"abstract":"There are several methods of executing programs written in a high level language. The most widely used is to compile the programs into machine language. Another is to translate the programs into some intermediate form and then to execute that form interpretively. A third method is to directly execute either the HLL or the intermediate form.\nThis study was aimed at investigating the feasibility of directly executing the intermediate representation of the sequential features of Concurrent Euclid (CE) on the SEL 32/75 computer. The CE intermediate code was translated into Ecode, and a microprogrammed interpreter for Ecode was designed and implemented on the SEL, and benchmarked against the compiler. For the CPU-bound prime number algorithm Sieve of Eratosthenes, the interpreter was measured to be about twice as slow as the compiler, due primarily to poor overlap within microinstructions. Ecode was then modified, and a new translator and interpreter designed and implemented. The same benchmark then yielded comparable results for both the interpreter and compiler. We project that further changes in Ecode design and hardware support would result in substantial Ecode efficiency gains.","PeriodicalId":365456,"journal":{"name":"MICRO 22","volume":"155 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1989-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"MICRO 22","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/75362.75396","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
There are several methods of executing programs written in a high level language. The most widely used is to compile the programs into machine language. Another is to translate the programs into some intermediate form and then to execute that form interpretively. A third method is to directly execute either the HLL or the intermediate form.
This study was aimed at investigating the feasibility of directly executing the intermediate representation of the sequential features of Concurrent Euclid (CE) on the SEL 32/75 computer. The CE intermediate code was translated into Ecode, and a microprogrammed interpreter for Ecode was designed and implemented on the SEL, and benchmarked against the compiler. For the CPU-bound prime number algorithm Sieve of Eratosthenes, the interpreter was measured to be about twice as slow as the compiler, due primarily to poor overlap within microinstructions. Ecode was then modified, and a new translator and interpreter designed and implemented. The same benchmark then yielded comparable results for both the interpreter and compiler. We project that further changes in Ecode design and hardware support would result in substantial Ecode efficiency gains.
有几种方法可以执行用高级语言编写的程序。最广泛使用的是将程序编译成机器语言。另一种方法是将程序翻译成某种中间形式,然后解释性地执行这种形式。第三种方法是直接执行HLL或中间形式。本研究旨在探讨在SEL 32/75计算机上直接执行并行欧几里德(CE)序列特征中间表示的可行性。将CE中间代码翻译成Ecode,并在SEL上设计和实现了Ecode的微程序解释器,并对编译器进行了基准测试。对于cpu绑定的质数算法Sieve of Eratosthenes,解释器的速度大约是编译器的两倍,主要原因是微指令之间的重叠很少。然后对代码进行了修改,并设计和实现了新的翻译器和解释器。然后,相同的基准测试对解释器和编译器产生可比较的结果。我们预计,Ecode设计和硬件支持方面的进一步变化将大大提高Ecode的效率。