APPARATUS AND METHOD FOR ARCHITECTURAL PERFORMANCE MONITORING IN BINARY TRANSLATION SYSTEMS
    3.
    发明申请
    APPARATUS AND METHOD FOR ARCHITECTURAL PERFORMANCE MONITORING IN BINARY TRANSLATION SYSTEMS 审中-公开
    二进制翻译系统中建筑性能监测的装置和方法

    公开(公告)号:US20160224348A1

    公开(公告)日:2016-08-04

    申请号:US14614264

    申请日:2015-02-04

    申请人: Intel Corporation

    IPC分类号: G06F9/30

    摘要: Methods and apparatuses relate to emulating architectural performance monitoring in a binary translation system. In one embodiment, a processor includes an architectural performance counter to maintain an architectural value associated with instruction execution, a register to store the architectural value of the architectural performance counter, binary translation logic to embed an architectural value from the architectural performance counter into a stream of translated instructions having a transactional code region and to store the architectural value into the register, and an execution unit to execute the transactional code region of the stream of translated instructions. The binary translation logic is configured to add the architectural value from the register to the architectural performance counter upon completion of the transactional code region of the stream of translated instructions. In one embodiment, a binary translation system overcomes software incompatibilities by using microarchitectural support to transparently and accurately emulate architectural performance counter behavior.

    摘要翻译: 方法和装置涉及在二进制翻译系统中仿真架构性能监视。 在一个实施例中,处理器包括架构性能计数器,用于维护与指令执行相关联的架构值,用于存储架构性能计数器的体系结构值的寄存器,二进制翻译逻辑,用于将架构值从架构性能计数器嵌入到流中 的翻译指令具有事务代码区域并将结构值存储到寄存器中,以及执行单元,用于执行翻译指令流的事务代码区域。 二进制翻译逻辑被配置为在翻译指令流的事务代码区域完成时将来自寄存器的架构值添加到架构性能计数器。 在一个实施例中,二进制翻译系统通过使用微架构支持透明且准确地模拟架构性能计数器行为来克服软件不兼容性。