发明名称 Inferring size of a processor memory address based on pointer usage
摘要 Methods and apparatus are provided for accessing the proper memory in processors having program and data memories with different sizes. In some embodiments, a processor is optimized for data access and has registers that are the same size as the data memories. When a program is compiled, some implementations identify when a pointer variable points to a piece of data (data memory) or a function (program memory) and synthesize different sized operations accordingly. The proper mode and size are assigned for each pointer. Methods of the present invention do not require annotation of functions. Existing code does not need to be modified and there is no opportunity to introduce errors. The invention does not require extra program memory to be located at directly accessible locations to store stub code.
申请公布号 US7133993(B1) 申请公布日期 2006.11.07
申请号 US20040753051 申请日期 2004.01.06
申请人 ALTERA CORPORATION 发明人 JACKSON ROBERT;GRAHAM JONAH
分类号 G06F12/00;G06F9/45 主分类号 G06F12/00
代理机构 代理人
主权项
地址