An anomaly in an interpreter using GCC source-code-level register allocation

Ting Wei Hou, Fuh Gwo Chen

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)

Abstract

An anomaly of unexpected performance in an interpreter whose frequently accessed variables are manually assigned to hard registers by GCC source-code-level register allocation is presented. A hardregistered virtual program counter and stack pointer as well as a bytecode translation are experimented on both register-rich PowerPC and register-limited Intel x86. According to the study of the anomaly, a hard register should not be assigned singly to a variable in an interpreter due to higher register pressure.

Original languageEnglish
Pages (from-to)9-13
Number of pages5
JournalACM SIGPLAN Notices
Volume42
Issue number4
DOIs
Publication statusPublished - 2007 Apr

All Science Journal Classification (ASJC) codes

  • General Computer Science

Cite this