链接寄存器只在约定的意义上有一些特殊——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.
它们需要使用汇编语言在两种完全不同的架构上工作(26:10)。
They had to work with two extremely different architectures and assembler languages (26:10).
类似于第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.
所讨论的主题包括基本的架构、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.
一些代码必须用汇编语言编写。
Such code must usually be written in assembly language. Contrast with processor-independent.
清单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.
反汇编清单显示了该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.
介绍了 Parrot汇编语言。
如果你使用汇编语言,那么你肯定会被要求写注释;在这个地球上还没有人能够直接读懂汇编代码。
If you write in assembly language, you're pretty much forced to write comments; no one on earth can read the code directly.
如果您以前从未用汇编语言编过程,寄存器就是处理器为计算值所使用的临时存储。
If you've never programmed assembly language before, registers are the temporary storage that processors use for computing values.
应用推荐