`p14`是arm64 x14通用寄存器的替代名称吗?

huangapple go评论73阅读模式
英文:

Is `p14` an alternative name to arm64 x14 general purpose register?

问题

从苹果的Objective-C中转储的源代码:

汇编代码:

似乎 p14 是 arm64 x14 通用寄存器的另一个名称。但我找不到任何文档。你能提供任何参考资料吗?

英文:

Source code dumped from apple objc:
`p14`是arm64 x14通用寄存器的替代名称吗?

Disassembled code:
`p14`是arm64 x14通用寄存器的替代名称吗?

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.

huangapple
  • 本文由 发表于 2023年2月23日 22:56:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/75546519.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定