Journal of Information Processing
Online ISSN : 1882-6652
ISSN-L : 1882-6652
Design and Implementation of Superinstructions for JavaScript Virtual Machine Generation System for Embedded Systems eJSTK
Tomoya NonakaTomoharu Ugawa
Author information
JOURNALS FREE ACCESS

2019 Volume 27 Pages 658-670

Details
Abstract

Embedded systems generally have a small amount of memory and slow CPUs. Therefore it is desirable to increase the speed of JavaScript virtual machines (VMs) without increasing memory footprint. In this research, we introduce superinstructions, combinations of constant load instructions and arithmetic, logical, and relational (ALR) instructions to increase execution speed. Introducing superinstructions increases the size of a VM. Thus, we designed superinstructions so that they would share their implementation code with the ALR instructions, from which they are made. Furthermore, we simplified their type-based dispatching code through specialization to the datatypes of their constant operands. We developed a VM generator that creates VMs that have superinstructions in accordance with this approach and a compiler that compiles JavaScript programs using them.

Information related to the author
© 2019 by the Information Processing Society of Japan
Previous article Next article
feedback
Top