链接寄存器只在约定的意义上有一些特殊——SPU汇编语言允许在您所选择的任何寄存器内设置链接。
The link register is only special by convention — the SPU assembly language allows you to set the link in any register you choose.
链接寄存器只在约定的意义上有一些特殊 ——SPU汇编语言允许在您所选择的任何 寄存器内设置链接。
The link register is only special by convention -- the SPU assembly language allows you to set the link in any register you choose.
对于新入门的汇编语言程序员来说,不太明显的一个问题是指令的顺序会影响程序执行速度。
What is not usually apparent to new assembly language programmers is that the order of instructions affects the speed of the program.
然而,并非所有指令都可以支持所有的向量类型——这取决于汇编语言指令处理向量的能力。
However, not all vector types are supported by all instructions — it is based on the availability of assembly language instructions to handle it.
编译器在自己生成的汇编语言中提供了适当的操作数。
The compiler supplies the appropriate operand in the assembly language code it generates.
这之后,我会向您展示如何在C中对它们进行编程,但比较而言,汇编语言能够更好地体现该处理器的独特性。
Later, I will show you how to program them in c, but assembly language gives a better view of the distinctiveness of the processor.
本篇文章并不要求您具有汇编语言的经验,当然,如果有相关的经验会十分有帮助。
This article does not require that you be experienced with assembly language, though it would be helpful.
前面有关SPU 的讨论主要集中在 SPU 的汇编语言上,从而帮助您更加深入地了解处理器。
Previous discussions about the SPU have focused on the SPU's assembly language to help you get to know the processor intimately.
一旦用汇编语言来编写公用程序,它们就不必重新书写而可被复制到新的程序中去。
Once common functions are written in assembly language they could then be copied into a new program without having to be written again.
了解SPU的汇编语言是如何工作的,也可以对使用高级语言来使用处理器提供帮助。
Knowing how the SPU's assembly language works will also aid you in exploiting the processor in higher-level languages.
而在汇编语言中,却需要程序员来显式处理。
In assembly language, this is handled explicitly by the programmer.
现在,我正在写一个插件,它将比我在1974年时的简单汇编语言程序需要花费更多的时间,而我可以做如此复杂的事情。
Right now, I'm writing a plug-in that I know will take me longer than my simple assembler language routine did in 1974, but I can do things that are so much more complex.
类似于第5章,第6章假定读者具有计算机体系结构知识,并且至少有一些汇编语言编程的经验。
Like Chapter 5, Chapter 6 presumes knowledge of computer architecture, and at least some experience in programming assembly language.
图6 - 7显示当二进制数据通过反汇编器后,翻译出来的汇编语言的样子。
Figure 6-7 shows what assembly language looks like once binary has been through a disassembler.
IBMXLC编译器是一个非常好的优化器,结果是 C算法的性能要比未经优化的汇编语言实现的性能好很多。
The IBM XL C compiler is a very good optimizer, and as a result, the C algorithm delivers superior results to a simple unoptimized assembly language implementation.
所讨论的主题包括基本的架构、SPU汇编语言的基本语法及SPE与ppe间的主要通信模式。
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.
不知道您有何感想,但这段代码的复杂得让我想去重拾汇编语言。
I'm not sure about you, but the complexity of that code almost makes me want to take up assembly language again.
后续的两篇文章将会深入探究SPE和PPE间的通信以及如何使用 SPE汇编语言的独特特性来优化代码。
The next two articles will explore communication between the SPE and the PPE and how to use the unique features of the SPE's assembly language to optimize your code.
在开始介绍SPU汇编语言之前,先来看一个通过递归算法计算32 位数的阶乘的简单程序。
To begin looking at SPU assembly language, I will enter in a simple program for calculating the factorial of a 32-bit number using a recursive algorithm.
左列的数字代表机器码所在的内存地址,右边的列代表相应的汇编语言。
The Numbers in the left column are the memory locations where the machine code is located. The corresponding assembly language is in the right column.
使用汇编语言创建可重用的库非常迅速,也非常简单。
Creating reusable libraries in assembly language is fast and easy.
清单10提供汇编语言伪代码。
From an assembly language perspective, Listing 10 provides the pseudo-code.
注意,这种intrinsic通常与对应的汇编语言指令具有相同的限制。
Note that the intrinsics generally have the same limitations as their corresponding assembly language instructions.
这里是为那些真正热衷底层编程的人准备的一个优化尾部调用的汇编语言模板。
For those who actually like to mess with the low-level stuff, here is an assembly language template for an optimized tail-call.
反汇编清单显示了该main函数的汇编语言清单。
This disassembly listing shows the assembler-language listing of the main function.
它对应于汇编语言的selb指令。
正如汇编语言中一样,spu_sel会查看conditional中每一位的值。
As in assembly language, spu_sel looks at each bit in conditional.
它还使用Boogie根据规范来验证汇编语言,并确保它可以与TAL代码和硬件安全地交互。
Boogie is used to verify the assembly language against a specification and guarantees safe interaction with the TAL code and hardware.
有关基于PowerArchitecture的ppe特性的一些讨论,请参见“用于Power体系结构的汇编语言”系列。
For a discussion of the features of the PPE which are based on the Power Architecture, see the Assembly language for Power Architecture series.
介绍了 Parrot汇编语言。
应用推荐