Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems

Ting Wei Hou, Fuh Gwo Chen, Chin Yang Lin

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Short-code threading for virtual machine interpreters is substantially similar to direct threading. But short-code threading consumes less memory at the cost of a little performance degradation, as compared with direct threading in a 32-bit or 64-bit address machine. A 16-bit short-code is used to enroll the least two significant bytes of the emulation address at the phase of preparing translated code, and a virtual segment register is used to store the remainder of the address. Experiments on benchmark programs of SPECJVM 98 showed that short-code threading is slightly slower than direct threading but short-code threading requires lesser memory to store the translated address: one half in 32-bit addressing and one quarter in 64-bit addressing. Therefore, short-code threading is much suitable for memory-constrained embedded system.

Original languageEnglish
Title of host publicationProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008
Pages228-232
Number of pages5
Publication statusPublished - 2008 Dec 1
Event2008 International Conference on Embedded Systems and Applications, ESA 2008 - Las Vegas, NV, United States
Duration: 2008 Jul 142008 Jul 17

Publication series

NameProceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008

Other

Other2008 International Conference on Embedded Systems and Applications, ESA 2008
CountryUnited States
CityLas Vegas, NV
Period08-07-1408-07-17

Fingerprint

Embedded systems
Data storage equipment
Degradation
Experiments

All Science Journal Classification (ASJC) codes

  • Computer Science Applications
  • Hardware and Architecture
  • Software

Cite this

Hou, T. W., Chen, F. G., & Lin, C. Y. (2008). Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems. In Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008 (pp. 228-232). (Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008).
Hou, Ting Wei ; Chen, Fuh Gwo ; Lin, Chin Yang. / Short-code threading : A memory-saving and efficient approach to accelerate the token threaded code for embedded systems. Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008. 2008. pp. 228-232 (Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008).
@inproceedings{145a189b18a64271afbc7c00fe8f9561,
title = "Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems",
abstract = "Short-code threading for virtual machine interpreters is substantially similar to direct threading. But short-code threading consumes less memory at the cost of a little performance degradation, as compared with direct threading in a 32-bit or 64-bit address machine. A 16-bit short-code is used to enroll the least two significant bytes of the emulation address at the phase of preparing translated code, and a virtual segment register is used to store the remainder of the address. Experiments on benchmark programs of SPECJVM 98 showed that short-code threading is slightly slower than direct threading but short-code threading requires lesser memory to store the translated address: one half in 32-bit addressing and one quarter in 64-bit addressing. Therefore, short-code threading is much suitable for memory-constrained embedded system.",
author = "Hou, {Ting Wei} and Chen, {Fuh Gwo} and Lin, {Chin Yang}",
year = "2008",
month = "12",
day = "1",
language = "English",
isbn = "1601320655",
series = "Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008",
pages = "228--232",
booktitle = "Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008",

}

Hou, TW, Chen, FG & Lin, CY 2008, Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems. in Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008. Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008, pp. 228-232, 2008 International Conference on Embedded Systems and Applications, ESA 2008, Las Vegas, NV, United States, 08-07-14.

Short-code threading : A memory-saving and efficient approach to accelerate the token threaded code for embedded systems. / Hou, Ting Wei; Chen, Fuh Gwo; Lin, Chin Yang.

Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008. 2008. p. 228-232 (Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

TY - GEN

T1 - Short-code threading

T2 - A memory-saving and efficient approach to accelerate the token threaded code for embedded systems

AU - Hou, Ting Wei

AU - Chen, Fuh Gwo

AU - Lin, Chin Yang

PY - 2008/12/1

Y1 - 2008/12/1

N2 - Short-code threading for virtual machine interpreters is substantially similar to direct threading. But short-code threading consumes less memory at the cost of a little performance degradation, as compared with direct threading in a 32-bit or 64-bit address machine. A 16-bit short-code is used to enroll the least two significant bytes of the emulation address at the phase of preparing translated code, and a virtual segment register is used to store the remainder of the address. Experiments on benchmark programs of SPECJVM 98 showed that short-code threading is slightly slower than direct threading but short-code threading requires lesser memory to store the translated address: one half in 32-bit addressing and one quarter in 64-bit addressing. Therefore, short-code threading is much suitable for memory-constrained embedded system.

AB - Short-code threading for virtual machine interpreters is substantially similar to direct threading. But short-code threading consumes less memory at the cost of a little performance degradation, as compared with direct threading in a 32-bit or 64-bit address machine. A 16-bit short-code is used to enroll the least two significant bytes of the emulation address at the phase of preparing translated code, and a virtual segment register is used to store the remainder of the address. Experiments on benchmark programs of SPECJVM 98 showed that short-code threading is slightly slower than direct threading but short-code threading requires lesser memory to store the translated address: one half in 32-bit addressing and one quarter in 64-bit addressing. Therefore, short-code threading is much suitable for memory-constrained embedded system.

UR - http://www.scopus.com/inward/record.url?scp=62649121419&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=62649121419&partnerID=8YFLogxK

M3 - Conference contribution

AN - SCOPUS:62649121419

SN - 1601320655

SN - 9781601320650

T3 - Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008

SP - 228

EP - 232

BT - Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008

ER -

Hou TW, Chen FG, Lin CY. Short-code threading: A memory-saving and efficient approach to accelerate the token threaded code for embedded systems. In Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008. 2008. p. 228-232. (Proceedings of the 2008 International Conference on Embedded Systems and Applications, ESA 2008).