gpt4 book ai didi

arm - ARM 弱内存模型保证了哪些顺序

转载 作者:行者123 更新时间:2023-12-04 21:23:46 31 4
gpt4 key购买 nike

我了解弱内存模型和强内存模型的基本区别。但是没有确切的弱定义,它取决于体系结构(这里是 ARM)。

我已经阅读了有关 ARM 信息中心的文档,但仍有很多内容不清楚。有人可以列出 -

  • ARM 保证哪些内存访问顺序。
  • 因此,在为多核 ARM 系统编码时,汇编程序员必须在代码中明确执行哪些顺序

    任何可以解释 b/w ARM 和 PPC(Power PC)内存模型差异的人都会加分。

  • 最佳答案

    查看 Cortex-A Series Programmer's Guide ,它有一个关于内存排序的章节。例如:

    Three memory types are defined in the ARM Architecture. All regions of memory are configured as one of these three types.

    • Strongly-ordered
    • Device
    • Normal.

    In addition, for normal and device memory, it is possible to specify whether the memory is shareable (accessed by other agents) or not. For normal memory, inner and outer cacheable properties can be specified.

    关于arm - ARM 弱内存模型保证了哪些顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11251536/

    31 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com