SPU
abbr. 自推进的水下导弹(Self-Propelled Underwater Missile)
2026-03-22 11:11 浏览次数 28
abbr. 自推进的水下导弹(Self-Propelled Underwater Missile)
SPU Nitra雇主
HSK SPU直结式鉆夹头
sPu rang阿底峡在布让
SPU聚氨酯SPU polyurethane
SPU M水性硅
sPu hreng静光
equivalent spu当量齿轮
SPU prepolymerSPU预聚体
It turns out that several SPU instructions deal with only one of the register「s values.
几个SPU指令只能处理这些寄存器值中的一个。
The SPU has a read channel for receiving a single data word from the mailbox and two write channels for sending data words (more on this below).
SPU有一个读通道来从邮箱接收单个数据字,有两个写通道来发送数据字(更详细的介绍请参看下文)。
While it would be relatively easy to create a new GDB target for the SPU itself, most users need to debug interaction between PPE and SPE.
虽然为SPU自己创建一个新的GDB目标非常简单,但是大部分用户都需要对PPE和SPE之间的交互进行调试。
If a serious error occurs, for example, an invalid opcode, the SPU is stopped and an interrupt is delivered to the ppe.
如果发生了一个非常严重的错误,例如一个无效的操作码,那么SPU就会停止,并向PPE发送一个中断。
The SPU actually loads two instructions at a time from a doubleword-aligned boundary.
SPU实际上会从一个双字对齐的边界开始一次加载两条指令。
This requires changes to the OProfile kernel code to sample the SPU instruction Pointers regularly.
这需要修改oprofile的内核代码来周期性地对SPU指令指针进行采样。
In addition, by default, every branch encountered by the SPU is assumed to be not taken, including unconditional branches.
另外,默认情况下,SPU所碰到的每个分支都应当不会执行,包括无条件分支。
Branch hinting is necessary on the SPU because mispredicted branches come at a high cost.
分支提示之所以在SPU是必需的是因为预测错误的分支可能会带来高耗费。
In the future, we are planning to change this so that more logical than physical SPU contexts can be present and have the kernel switch between them.
将来,我们计划要对此进行修改,使其可以保存逻辑上下文而不只是物理spu上下文,并且可以采用一些内核开关来切换它们。
Most importantly, if each SPU is represented by a single character device, it becomes hard for an application to find an SPU that is not yet used by another.
最为重要的是,如果每个SPU都是由一个字符设备来表示的,那么程序就很难发现一个还没有被其他程序使用的SPU。
Here are some of the more common SPU intrinsics (types are not given as most of them are polymorphic).
下面是比较常见的一些SPUintrinsic(类型没有给出,这是因为它们大多为多态)。
A single process can work with multiple SPU contexts, but to run on more than one SPU at a given time, the process needs to contain at least one thread for each running SPU context.
一个进程可以使用多个spu上下文,但是要在每个给定的时间点上在多个SPU上运行,这个进程需要包含至少一个每个正在运行的SPU上下文所使用的线程。
SPU code is compiled separately from the PPC code and gets loaded at run time.
SPU代码与PPC代码分开进行编译,并在运行时进行加载。
Only the kernel can directly communicate with an SPU and therefore needs to abstract the hardware interface into system calls or device drivers.
只有内核才可以直接与SPU进行通信,因此需要将硬件接口抽象为系统调用或设备驱动程序。
mbox and ibox are used to read data written to the SPU mailbox write channels and have slightly different semantics.
mbox和ibox用来读取那些被写入SPU邮箱写通道的数据,不过语义稍有不同。
Topics covered include the basic architecture, the syntax of the SPU assembly language, and the primary modes of communication between the SPE and the PPE.
所讨论的主题包括基本的架构、SPU汇编语言的基本语法及SPE与ppe间的主要通信模式。
The only byte-oriented arithmetic function on the SPU is absdb, 「absolute difference of bytes,」 which gives the absolute value of the difference between two operands.
SPU 上惟一一个面向字节的计算函数是absdb(意思是 「absolutedifferenceofbytes」),计算两个操作数间的差的绝对值。
A signal might need to be delivered to a thread that is executing SPU code.
我们可能需要将信号发送给正在执行SPU代码的线程。
Since the SPU has 128 registers, it can keep a lot of temporary and intermediate values around without having to load and store back into memory like other architectures.
由于SPU有128个寄存器,所以它可以存储大量临时值和中间值,而无需像其他架构一样,必须加载和向内存转存。
The two transmission steps do not involve the SPU at all, but only the MFC (which is part of the larger SPE).
两个传输步骤根本没有涉及SPU,只涉及MFC(这是比较大的SPE的一部分)。
A private memory area within the SPU called the local store (the size of this area on the PS3 is 256k).
SPU中的一个私有内存区域,称为本地存储(PS 3上这个区域的大小是256k)。
The SPU has no real hardware support for branch hinting.
SPU对于分支提示并没有没有实际硬件支持。
This is critical, as the SPU can only load exactly 16 bytes at a time, aligned to exactly a 16-byte boundary.
这十分关键,因为SPU一次只能加载16字节,并对齐到16字节的边界。
When an SPU tries to read from an empty mailbox, it will stop execution until some value is written to its memory-mapped register.
当spu视图从一个空的邮箱中读取信息时,它会停止执行,直到有值写入自己的内存映射寄存器中为止。
Look at one iteration in the loop and see how it performs in the SPU pipeline. I」ve added no-ops so you can see the pipeline issues better.
下面让我们查看这个循环中的一次迭代,并了解一下它在SPU流水线中是如何执行的。