发明名称 Methods and apparatus for reducing the size of code with an exposed pipeline by encoding NOP operations as instruction operands
摘要 A method for reducing total code size in a processor having an exposed pipeline may include the steps of determining a latency between a load instruction, and a using instruction and inserting a NOP field into the defining or using instruction. When inserted into the load instruction, the NOP field defines the following latency following the load instruction. When inserted into the using instruction, the NOP field defines the latency preceding the using instruction. In addition, a method for reducing total code size during branching may include the steps of determining a latency following a branch instruction for initiating a branch from a first point to a second point in an instruction stream, and inserting a NOP field into the branch instruction. Further, a method according to this invention may include the steps of locating delayed effect instructions followed by NOPs, such as load or branch instructions, within a code; deleting the NOPs from the code; and inserting a NOP field into the delayed effect instructions. Apparatus according to this invention may include a processor including a code containing a delayed effect instruction, wherein the delayed effect instruction includes a NOP field.
申请公布号 US6799266(B1) 申请公布日期 2004.09.28
申请号 US20000702484 申请日期 2000.10.31
申请人 TEXAS INSTRUMENTS INCORPORATED 发明人 STOTZER ERIC J.;GRANSTON ELANA D.;WARD ALAN S.
分类号 G06F9/30;G06F9/318;G06F9/345;G06F9/38;(IPC1-7):G06F9/345 主分类号 G06F9/30
代理机构 代理人
主权项
地址