This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] J721EXSOMXEVM:TI-ARM-CLANG -结构对齐

Guru**** 2552110 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1204317/j721exsomxevm-ti-arm-clang---struct-alignment

器件型号:J721EXSOMXEVM

您好!

在 ti-CGT-ARM 中、有一个不同数据类型的寄存器和存储器存储表:
https://www.ti.com/lit/ug/spnu151v/spnu151v.pdf?ts=1678357337747&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252Fdownload%252FARM-CGT
表6-2:

"结构成员按其各自类型的要求存储。 成员按其各自类型的要求存储;根据具有最严格的对齐要求对成员对齐。"

我们曾尝试为 ti-arm-clang 找到类似的语句、但在文档中找不到它。
您能否说明一下在 ti-arm-clang 中是如何处理的?
我们将使用版本1.3.0.LTS (2021年5月14日)。

Br、
Anton Annenkov