As all objects start on an 8 byte boundary, and the size is divisible by 8, the bottom 3 bits are not used for the size; we use them for flags to indicate different states of the object.
因为所有对象都是从8字节边界开始,并且大小可以被8整除,所以底部的3位不用于表示大小;我们将其作为标志,用于表示对象的不同状态。
The pre-requisite to deploy TXSeries applications as a Web services is to compile them with 8 byte boundary.
部署TXSeries应用程序作为Web服务的先决条件是使用8字节的边界进行编译。
Note that the MPTR, not this slot, is grained on an 8 byte boundary. The flags are as follows.
请注意,mptr是按8字节边界划分颗粒度的,而这一位置不是。
So specifying a -m128bit-long-double will align "long double" to a 16-byte boundary by padding the "long double" with an additional 32-bit zero.
因此指定一个- m 128bit -long -double会将“long double”按照16字节边界进行对齐,它会为“longdouble”填充32位的0。
To load a value which crosses a 16-byte boundary is even more difficult, as you would actually have to load it into two registers, shift them, and then mask and combine them.
要加载跨越16字节边界的值会十分困难,因为必须要将其存储到两个寄存器,进行移位然后再对它们进行掩码和组合。
By aligning it to a 16-byte boundary, you know that it will load into the first four bytes of the register.
通过将它对齐到16位边界,就可以确保它将会被加载进寄存器的前四个字节。
If it is given an address to load from that is not at a 16-byte boundary, it simply zeroes out the last four bits of the address before loading it so that it will be an aligned load.
如果要加载自的地址不是一个 16字节的边界,它就会将该地址的最后四位截断然后再加载,以便使其能够加载。
Thus, if a partition begins on a 4096-byte (8-sector) boundary, it's properly aligned.
因此,如果一个分区起始于一个4096字节(8个扇区)边界,则表示它得到合理对齐。
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字节的边界。
The alignment is always the same as the type size; that is, a variable of type int is four bytes long and will be stored at a 4-byte boundary.
排列的方式通常和类型的大小保持一致;例如,int类型的一个变量的长度是4字节,因此要将它存储在4字节区域。
In this example, the structure s is aligned to an 8-byte boundary, and so is the s.var2 variable.
在这个示例中,结构s 以 8 个字节为单位进行对齐,s.var2变量同样也是如此。
Modern architectures (Pentium and newer) would prefer "long double" to be aligned to an 8 - or 16-byte boundary.
现代的体系架构(Pentium及更新的体系架构)更喜欢将“longdouble”按照8字节或16字节进行对齐。
The pointer you receive will be aligned with at least an8- byte boundary.
你接受到的指针将至少和一个八位的边界相伴随。
The pointer you receive will be aligned with at least an8- byte boundary.
你接受到的指针将至少和一个八位的边界相伴随。
应用推荐