The problem is that the result of a multiply instruction can be twice as long as its operands.
问题在于乘法指令的结果可能会有其操作数的两倍之长。
Now, the integer multiply instructions on the SPU are somewhat problematic, especially signed multiplication (using the mpy instruction).
现在,SPU上的整数相乘指令多少有点问题,特别是有符号乘法(使用mpy指令)。
This is done with the mpyu instruction (multiply unsigned).
这可以通过mpyu指令(无符号相乘)实现。
Main characteristic of these instructions is that we have to define both ALU operands and ALE operation. Exceptions among these instructions are mul (multiply) instruction div (divide) instruction.
这些指令的特点是我们必须定义alu操作数和ALE(地址锁存允许)运算,除了两个例外:乘法和除法。
Main characteristic of these instructions is that we have to define both ALU operands and ALE operation. Exceptions among these instructions are mul (multiply) instruction div (divide) instruction.
这些指令的特点是我们必须定义alu操作数和ALE(地址锁存允许)运算,除了两个例外:乘法和除法。
应用推荐