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

An anomaly in an interpreter using GCC source-code-level register allocation
复制标题

DOI:
10.1145/1288258.1288260
复制
发表时间:
2007-04
影响因子:
--
通讯作者:
Ting-Wei Hou;Fuh-Gwo Chen
Ting-Wei Hou;Fuh-Gwo Chen
中科院分区:
--
文献类型:
--
作者:
Ting-Wei Hou;Fuh-Gwo Chen

文献摘要

被引文献

相似文献

一个异常的意外性能的解释器,其频繁访问的变量手动分配到硬寄存器的GCC源代码级寄存器分配。硬注册的虚拟程序计数器和堆栈指针以及字节码翻译都在寄存器丰富的PowerPC和寄存器有限的Intel x86上进行了实验。根据对这一异常现象的研究,由于寄存器压力较大,硬寄存器不应单独分配给解释器中的一个变量。
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 hard-registered virtual program counter and stack pointer as well as a byte-code 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.