发明名称 Optimized switch statement code employing predicates
摘要 A method for coding a switch based on a variable is provided. The method includes copying a nonzero bit from a setting register to a corresponding bit in a rotating predicate register by moving said bit into the rotating predicate register, and performing a single case function computation based on the corresponding bit in the rotating predicate register. Alternately, the method may comprise using a register rename base value modulo summed with a virtual predicate file to rename the predicate register. In certain conditions, the design may include testing values being moved into the static predicate or rotating predicate register to determine whether the value exceeds an acceptable range.
申请公布号 US2004210886(A1) 申请公布日期 2004.10.21
申请号 US20030414706 申请日期 2003.04.15
申请人 JARP SVERRE;MORRIS DALE 发明人 JARP SVERRE;MORRIS DALE
分类号 G06F7/38;G06F9/45;(IPC1-7):G06F7/38 主分类号 G06F7/38
代理机构 代理人
主权项
地址