Processor instruction fetching method, device, equipment and storage medium

CN118796278BActive Publication Date: 2024-11-29BEIJING VCORE TECH CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202411289756.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-11-29
Estimated Expiration
2044-09-14

Smart Images

  • Figure CN118796278B_ABST
    Figure CN118796278B_ABST
Patent Text Reader

Abstract

The present invention provides a processor instruction fetching method, device, equipment and storage medium, and relates to the field of computer technology. The method is applied to a processor in an electronic device, and the electronic device comprises a processor and a memory, and the memory comprises a cache memory. The method comprises: receiving an instruction fetching request; the instruction block of the instruction fetching request comprises ordinary instructions and compressed instructions; determining a valid result of the instruction fetching request according to the instruction fetching request; the valid result is used to characterize whether the instruction fetching request needs to fetch instructions across rows from the cache memory, and the cache memory comprises an odd-body storage body and an even-body storage body; when the valid result is valid, fetching a target instruction from two consecutive cache memory lines where the instruction block is located according to the instruction fetching request; the instruction block is determined based on an instruction fetching address in the instruction fetching request; when the valid result is invalid, fetching the target instruction from the cache memory line where the instruction block is located according to the instruction fetching request.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Methods and apparatus for managing page crossing instructions with different cacheability

    CN104662520A

  • Cache path prediction method and device, electronic equipment and storage medium

    CN117472798A