首页> 外国专利> System and method for swapping blocks of tagged stack entries between a tagged stack cache and an untagged main memory storage

System and method for swapping blocks of tagged stack entries between a tagged stack cache and an untagged main memory storage

机译:用于在带标签的堆栈高速缓存和无标签的主存储器之间交换带标签的堆栈条目的块的系统和方法

摘要

A computer system has a CPU, a stack cache and a main memory. The main memory is a conventional untagged memory, where each memory location is a word having a bit size that is an integer power of 2 (e.g., 32, 64 or 128 bits per word). However, at least one stack cache associated with the CPU (and preferably integrated with the CPU on the same semiconductor circuit or in the same chip set) is a tagged memory where each data word of the stack cache has an associated tag. Whenever the stack cache overflows with data, at least a portion of the contents of the stack cache are stored in a previously established location in main memory so as to make room for storing additional data in the stack cache. In this stack cache swap out operation, the data values and tags in N evaluation stack entries of the evaluation stack cache are copied to the previously established main memory location. The N tags in the N copied evaluation stack entries are stored into a first predefined portion of the previously established main memory location, and the N data values in the N copied evaluation stack entries are stored into a second predefined portion of the previously established main memory location. During a cache fill operation, the N tags and data values of a stack block are copied from their respective main memory positions into the tag and data portions of a stack cache block.
机译:计算机系统具有CPU,堆栈高速缓存和主存储器。主存储器是常规的未加标签的存储器,其中每个存储器位置是一个字,其位大小是2的整数次幂(例如,每个字32、64或128位)。然而,与CPU相关联的至少一个堆栈高速缓存(并且优选地与同一半导体电路或相同芯片组中的CPU集成在一起)是标记存储器,其中堆栈高速缓存的每个数据字具有相关联的标签。每当堆栈高速缓存中数据溢出时,至少将堆栈高速缓存的内容的一部分存储在主存储器中先前建立的位置中,以便为在堆栈高速缓存中存储其他数据腾出空间。在此堆栈缓存换出操作中,将评估堆栈缓存的N个评估堆栈条目中的数据值和标签复制到先前建立的主存储器位置。将N个复制的评估堆栈条目中的N个标签存储到先前建立的主存储器位置的第一预定部分中,并将N个复制的评估堆栈条目中的N个数据值存储到先前建立的主存储器的第二预定部分中。位置。在高速缓存填充操作期间,将堆栈块的N个标记和数据值从它们各自的主存储器位置复制到堆栈高速缓存块的标记和数据部分中。

著录项

  • 公开/公告号US5893121A

    专利类型

  • 公开/公告日1999-04-06

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号US19970841525

  • 发明设计人 ZAHIR EBRAHIM;AHMED H. MOHAMED;

    申请日1997-04-23

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-22 02:08:18

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号