首页> 外国专利> AUTOMATICALLY ENABLING A READ-ONLY CACHE IN A LANGUAGE IN WHICH TWO ARRAYS IN TWO DIFFERENT VARIABLES MAY ALIAS EACH OTHER

AUTOMATICALLY ENABLING A READ-ONLY CACHE IN A LANGUAGE IN WHICH TWO ARRAYS IN TWO DIFFERENT VARIABLES MAY ALIAS EACH OTHER

机译:自动启用两个不同变量中的两个数组的语言中的只读缓存

摘要

A method and system are provided for executing, by a processor including a read-only cache, a program having a plurality of variables including a first variable and a second variable. Each variable is for executing a respective read operation or a respective write operation for an object. The method includes providing a first code that uses the read-only cache and a second code that does not use the read-only cache. The method further includes determining, by the processor, whether a first object designated by the first variable is aliased or not aliased with a second object designated by the second variable. The method also includes executing, by the processor, the first code when the first object is not aliased with the second object, and the second code when the first object is aliased with the second object.
机译:提供了一种用于由包括只读高速缓存的处理器执行具有多个变量的程序的程序和系统,所述多个变量包括第一变量和第二变量。每个变量用于对对象执行相应的读取操作或相应的写入操作。该方法包括提供使用只读缓存的第一代码和不使用只读缓存的第二代码。该方法还包括由处理器确定由第一变量指定的第一对象是否被由第二变量指定的第二对象别名或不别名。该方法还包括由处理器在第一对象没有与第二对象混叠时执行第一代码,以及在第一对象与第二对象混叠时执行第二代码。

著录项

  • 公开/公告号US2018047134A1

    专利类型

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

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US201715792822

  • 发明设计人 KAZUAKI ISHIZAKI;

    申请日2017-10-25

  • 分类号G06T1/60;

  • 国家 US

  • 入库时间 2022-08-21 13:03:35

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号