发明名称 System and method of local data alignment for stack memory
摘要 A system and method for aligning data in stack memory in a data processing system where the stack memory provides temporary storage for storing parameters for a function call. The method first determines if any of the parameters in the function being call are of a selected type. If a parameter is of a selected type, code is generated for aligning the parameter on a stricter boundary than the default boundary for the stack memory. Code is then generated to align the remaining parameters in the function call on the default boundary in the stack memory. The aligned parameter in the stack provides a reference point which is used by the called function to align locally scoped variables in the stack. By aligning a parameter of a selected type on stricter boundary in the stack, for example, a double precision floating point aligned on an 8 byte boundary, the execution performance of the compiled program code is improved.
申请公布号 US6070010(A) 申请公布日期 2000.05.30
申请号 US19980052314 申请日期 1998.03.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KEENLEYSIDE, JOHN DAWSON;STOODLEY, KEVIN ALEXANDER
分类号 G06F9/44;G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址