发明名称 Efficient calling of functions on a processor
摘要 <p>Efficient calling of functions on a processor is described. An executable program having a function call is generated from program code 206 by an assembler/build tool, e.g. compiler. A function interface 214 defines an argument expression (reg 0-3) and internal values (reg 4-5). Argument declaration in code 206 defines the argument values to be provided to the function. When the executable program is generated, argument declaration 212 is resolved (e.g. symbols are replaced with address values), interface 214 is read and data structure 106 is created. A single instruction is encoded in the executable program. The instruction loads both internal values and resolved arguments from data structure 106 into processor registers 306-316 in parallel before evaluating the function. Having loaded internal values and arguments, the function can then be executed without further register loads being performed. This reduces overheads incurred when loading data from main memory to processor registers.</p>
申请公布号 GB2523205(A) 申请公布日期 2015.08.19
申请号 GB20140004822 申请日期 2014.03.18
申请人 IMAGINATION TECHNOLOGIES LTD 发明人 DAVID WILLIAM KNOX;MICHAEL JOHN DAVIS;ADRIAN JOHN ANDERSON
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址