发明名称 Performing variable and/or bitwise shift operation for a shift instruction that does not provide a variable or bitwise shift option
摘要 Some embodiments present a method of performing a variable shift operation. This method can be used by a microprocessor that does not allow variable shift operation for certain operand sizes. The method simulates a shift instruction that shifts an operand by a shift count. The method identifies a first shift command and a second shift command. The method computes a mask value. The mask value depends on whether the shift count is less than half of the operand size or greater than or equal to half of the operand size. The method uses the mask value to cause one of the first shift command and the second shift command to produce no shift. In some embodiments, the method allows for the shift count to be specified in bytes or in bits.
申请公布号 US8024552(B2) 申请公布日期 2011.09.20
申请号 US20090573876 申请日期 2009.10.05
申请人 APPLE INC. 发明人 JEONG HYEONKUK;CHANG PAUL
分类号 G06F9/315 主分类号 G06F9/315
代理机构 代理人
主权项
地址