Selb operates by going through the selector bit-by-bit.
selb通过逐位遍历选择器进行操作。
This corresponds to the selb assembly language instruction.
它对应于汇编语言的selb 指令。
You may be wondering why the program did not put selb and STQD in the same fetch group.
您可能会纳闷为什么程序不将selb和stqd放到一个取出组中。
If the bit is 1, it USES the bit from source value 2. If you imagine each register as an array of bits, selb has the following meaning.
如果该位为1,就使用源值2该位的值。
However, for now, I will simply show how to save two clock cycles by adjusting the order of the selb and STQD instructions. Here is the new order.
不过对于现在来说,我们将简单地展示如何通过调整selb和stqd指令的顺序来节省两个时钟周期。
The key is that the SPU has several conditional instructions, such as selb, shufb, and the bit operations, which allow conditional operations to occur without branching.
问题的关键是SPU有几个条件指令,例如selb、shufb和位操作,它们可以不用分支就能实现条件操作。
The key is that the SPU has several conditional instructions, such as selb, shufb, and the bit operations, which allow conditional operations to occur without branching.
问题的关键是SPU有几个条件指令,例如selb、shufb和位操作,它们可以不用分支就能实现条件操作。
应用推荐