首页> 外国专利> WIDENING MEMORY ACCESS TO AN ALIGNED ADDRESS FOR UNALIGNED MEMORY OPERATIONS

WIDENING MEMORY ACCESS TO AN ALIGNED ADDRESS FOR UNALIGNED MEMORY OPERATIONS

机译:将内存访问范围扩大到对齐地址以实现未对齐的内存操作

摘要

Unaligned atomic memory operations on a processor using a load-store instruction set architecture (ISA) that requires aligned accesses are performed by widening the memory access to an aligned address by the next larger power of two (e.g., 4-byte access is widened to 8 bytes, and 8-byte access is widened to 16 bytes). Data processing operations supported by the load-store ISA including shift, rotate, and bitfield manipulation are utilized to modify only the bytes in the original unaligned address so that the atomic memory operations are aligned to the widened access address. The aligned atomic memory operations using the widened accesses avoid the faulting exceptions associated with unaligned access for most 4-byte and 8-byte accesses. Exception handling is performed in cases in which memory access spans a 16-byte boundary.
机译:使用需要对齐访问的负载存储指令集体系结构(ISA)在处理器上执行未对齐的原子内存操作,是通过将内存访问范围扩展到对齐地址的下一个更大的2的次方来执行的(例如,将4字节访问权限扩展为8字节,而8字节访问扩展为16字节)。负载存储ISA支持的数据处理操作(包括移位,旋转和位域操作)仅用于修改原始未对齐地址中的字节,以便原子存储操作与扩展后的访问地址对齐。使用扩展访问的对齐原子存储操作可避免与大多数4字节和8字节访问的未对齐访问相关的异常错误。在内存访问跨越16字节边界的情况下,将执行异常处理。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号