英文:
Is `p14` an alternative name to arm64 x14 general purpose register?
问题
从苹果的Objective-C中转储的源代码:
汇编代码:
似乎 p14
是 arm64 x14 通用寄存器的另一个名称。但我找不到任何文档。你能提供任何参考资料吗?
英文:
Source code dumped from apple objc:
It seems p14
is an alternative name to arm64 x14 general purpose register. But i could not find any documentation. Could you provide any reference?
答案1
得分: 2
这是对 x14
的宏别名。详见arm64-asm.h。
这不是标准约定,似乎是特定于 Objective-C 源代码的一些内容。看起来 p
代表“指针”,当构建类似于 ILP32 模型的 32 位指针时,p14
被定义为 w14
。
英文:
It is a macro alias for x14
. See arm64-asm.h.
This isn't a standard convention and seems to be something specific to the objc source. It looks like the p
stands for "pointer", and that when building for something like an ILP32 model with 32-bit pointers, then p14
gets defined as w14
instead.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论