首页> 外国专利> Enabling stack access alignment checking independently of other memory access alignment checking

Enabling stack access alignment checking independently of other memory access alignment checking

机译:启用堆栈访问对齐检查,独立于其他内存访问对齐检查

摘要

A processor has a stack pointer holding the current location of the stack. It also checks whether the stack pointer is aligned correctly for a stack access operation. The check may be enabled and disabled independently of enabling alignment checking for other memory accesses. The check may determine whether the stack pointer is a multiple of an integer power of two. The processor may have a different stack pointer for different exception levels. In this case, the alignment checking may be enabled separately for each stack. The stack access may be read (pop) accesses or write (push) accesses. The stack access alignment checking and the other memory access alignment checking may be enabled and disabled by setting flags in a configuration data store.
机译:处理器具有一个堆栈指针,用于保存堆栈的当前位置。它还检查堆栈指针是否正确对齐以进行堆栈访问操作。可以独立于对其他内存访问启用对齐检查来启用和禁用该检查。该检查可以确定堆栈指针是否为2的整数幂的倍数。对于不同的异常级别,处理器可能具有不同的堆栈指针。在这种情况下,可以为每个堆栈分别启用对齐检查。堆栈访问可以是读(pop)访问或写(push)访问。堆栈访问对齐检查和其他内存访问对齐检查可以通过在配置数据存储中设置标志来启用和禁用。

著录项

  • 公开/公告号GB2482710A

    专利类型

  • 公开/公告日2012-02-15

    原文格式PDF

  • 申请/专利权人 ARM LIMITED;

    申请/专利号GB20100013528

  • 发明设计人 RICHARD ROY GRISENTHWAITE;

    申请日2010-08-12

  • 分类号G06F9/312;G06F12/04;

  • 国家 GB

  • 入库时间 2022-08-21 17:03:26

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号