发明名称 Executing instructions for managing constant pool base register used for accessing constants during subroutine execution
摘要 A constant data accessing system having a constant pool comprises a computer processor having a constant pool base register, a compiler having a constant pool handler, and an instruction set module having a constant pool instruction set unit. The constant pool base register is configured to store a value of constant pool base address of one or a plurality of subroutines which have constants to be accessed.
申请公布号 US8972705(B2) 申请公布日期 2015.03.03
申请号 US201113298023 申请日期 2011.11.16
申请人 Andes Technology Corporation 发明人 Chiao Wei-Hao;Tsai Haw-Luen;Chang Chen-Wei;Su Hong-Men
分类号 G06F9/35;G06F9/30;G06F9/46;G06F9/355 主分类号 G06F9/35
代理机构 WPAT, P.C. 代理人 WPAT, P.C. ;King Anthony;Yang Kay
主权项 1. A constant data accessing system, comprising: a constant pool comprising a pool of constants; a compiler having a constant pool handler, the constant pool handler accessing the constants; an instruction set module having a constant pool base register management instruction set unit and a constant pool access instruction set unit; a computer processor having a constant pool base register configured to store a value of a constant pool base address, wherein the value of the constant pool base address is an address of a subroutine, and the subroutine comprises the constants; instructions, in the constant pool base register management instruction set unit, configured to manage the value of the constant pool base address, wherein the operation of managing comprises saving, setting, or restoring the value of the constant pool base register, and the operation of managing is performed before accessing the one or the plurality of constants; and instructions, in the constant pool access instruction set unit, configured to access the constants, using the constant pool base register.
地址 Hsin-Chu TW