CACHING DEVICE, CACHE, SYSTEM, METHOD AND APPARATUS FOR PROCESSING DATA, AND MEDIUM

    公开(公告)号:US20210271475A1

    公开(公告)日:2021-09-02

    申请号:US17018424

    申请日:2020-09-11

    Abstract: A caching device, an instruction cache, a system for processing an instruction, a method and apparatus for processing data and a medium are provided. The caching device includes a first queue, a second queue, a write port group, a read port, a first pop-up port, a second pop-up port and a press-in port. The is configured to write cache data into a set storage address in the first queue and/or the second queue; the read port is configured to read all cache data from the first queue and/or the second queue at one time; the press-in port is configured to press cache data into the first queue and/or the second queue; the first pop-up port is configured to pop up cache data from the first queue; and the second pop-up port is configured to pop up cache data from the second queue.

    Method and apparatus for instruction prefetching with alternating buffers and sequential instruction address matching

    公开(公告)号:US11327762B2

    公开(公告)日:2022-05-10

    申请号:US17036596

    申请日:2020-09-29

    Abstract: An instruction prefetching method, a device and a medium are provided. The method includes the following: instructions in a target buffer are precompiled before a processor core fetches a required instruction from the target buffer corresponding to the processor core; if it is determined that a jump instruction exists in the target buffer and a jump target instruction corresponding to the jump instruction is not cached in the target buffer according to a precompiled result, the jump target instruction is prefetched from an icache into a candidate buffer corresponding to the processor core to wait for the processor core to fetch the jump target instruction from the candidate buffer; the target buffer and the candidate buffer are alternately reused during instruction prefetching.

    Method for executing instructions, device, and computer readable storage medium

    公开(公告)号:US11748099B2

    公开(公告)日:2023-09-05

    申请号:US17377548

    申请日:2021-07-16

    CPC classification number: G06F9/3004

    Abstract: The disclosure discloses a method for executing instructions, a device and a computer readable storage medium. The detailed implementation includes: obtaining a first memory access instruction for execution, in which the first memory access instruction includes a first address range of a memory to be accessed; in response to detecting a predetermined instruction for monitoring an accessed address range of the memory, executing the predetermined instruction to obtain a remaining address range not accessed by the first memory access instruction in the first address range; comparing the remaining address range with a second address range included in a second memory access instruction to be executed; and suspending execution of the second memory access instruction in response to the remaining address range at least partially overlapping with the second address range.

Patent Agency Ranking