发明名称 |
Microprocessor with instructions for shifting data responsive to a signed count value |
摘要 |
A data processing system is provided with a digital signal processor which has an instruction for shifting a source operand in response to a signed shift count value and storing the shifted result in a selected destination register. A first 32-bit operand (600) is treated as a signed shift value that has a sign and a shift count value. A second operand (602) is shifted by an amount according to the shift count value and in a direction according to the sign of the shift count. One instruction is provided that performs a right shift for a positive shift count and a left shift for a negative shift count, and another instruction is provided performs a left shift for a positive shift count and a right shift for a negative shift count. If the shift count value is greater than 31, then the shift is limited to 31.
|
申请公布号 |
US6757819(B1) |
申请公布日期 |
2004.06.29 |
申请号 |
US20000703141 |
申请日期 |
2000.10.31 |
申请人 |
TEXAS INSTRUMENTS INCORPORATED |
发明人 |
HOYLE DAVID;SCALES RICHARD H.;WANG MIN;ZBICIAK JOSEPH R. |
分类号 |
G06F9/305;G06F9/315;G06F9/38;G06F15/82;(IPC1-7):G06F15/82 |
主分类号 |
G06F9/305 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|