发明名称 Maintaining code consistency among plural instruction sets via function naming convention
摘要 A method of producing a computer program for a computer capable of operating in a plurality of disjoint instruction sets. The method produces a plurality of independently callable functions. For each function the method determines a target instruction set employed by the function. The method provides the function with a name corresponding to the target instruction set. The function name is preferably a modification of a user provided function name corresponding to the target instruction set. The method identifies each call of another independent function and provides each with a name corresponding to the target instruction set. The method produces a veneer function for each function and for each other instruction set. The veneer functions include changing the computer from operating in the other instruction set to operating in the target instruction set, calling the corresponding function, changing the computer to operate in the other instruction set, and a return command. Each veneer function is provided with a name corresponding to the other instruction set. Each function and its corresponding veneer functions are converted into a linkable object code module and then linked into an executable object code file of the computer program. The linker preferably omits from the executable object code file any veneer functions not called by a function.
申请公布号 US6002876(A) 申请公布日期 1999.12.14
申请号 US19970938276 申请日期 1997.09.26
申请人 TEXAS INSTRUMENTS INCORPORATED 发明人 DAVIS, ALAN L.;HUMPHREYS, JONATHAN F.;TATGE, REID E.
分类号 G06F9/40;G06F9/44;G06F9/45;G06F9/455;(IPC1-7):G06F9/445 主分类号 G06F9/40
代理机构 代理人
主权项
地址