发明名称 COMPILING METHOD AND COMPILING PROGRAM
摘要 PROBLEM TO BE SOLVED: To provide a compiling technique which more contributes to the reduction in code size by extending an application position of an interrupt instruction for calling a function, to functions called after a recursive function and functions called after an interrupt function. SOLUTION: In order to find the most suitable application position, a call graph considering an interrupt, namely, a graph wherein edges expressing the interrupt are linked from all interruptible nodes to a node corresponding to an interrupt function and nodes are separated per interrupt priority is used. Restrictions that the number of times of passing a node to which optimization is applied does not exceed the number of register banks in all of routes from route nodes to leaves in the call graph must be kept when optimization is applied. One combination which maximizes the effect of optimization is obtained among combinations of functions being optimization objects, which meet the restrictions. Linear programming is used as a means for obtaining this combination. COPYRIGHT: (C)2011,JPO&INPIT
申请公布号 JP2010250721(A) 申请公布日期 2010.11.04
申请号 JP20090101678 申请日期 2009.04.20
申请人 RENESAS ELECTRONICS CORP 发明人 TOKUYOSHI YUSUKE;CHIBA YUJI
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址