Data Processing Method, Processor, Computing Device, and Apparatus

    公开(公告)号:US20250123823A1

    公开(公告)日:2025-04-17

    申请号:US18999308

    申请日:2024-12-23

    Abstract: A data processing method, performed by a processor, includes obtaining executable code generated by compiling source code. The executable code includes code corresponding to an extension instruction, where the extension instruction indicates that target data needs to reside in a cache, and the target data is data to be invoked for a plurality of times in a process of executing the executable code. The method further includes executing the executable code, obtaining the target data, and storing the target data in the cache. The executable code obtained by the processor directly carries the extension instruction, and the processor executes the code corresponding to the extension instruction, so that the target data may reside in the cache.

    Compilation Optimization Method for Program Source Code and Related Product

    公开(公告)号:US20240168738A1

    公开(公告)日:2024-05-23

    申请号:US18427128

    申请日:2024-01-30

    CPC classification number: G06F8/4442 G06F8/51

    Abstract: A compilation optimization method for program source code includes: running a first executable file, and collecting a hardware cache event, where the first executable file includes an executable program and debugging information, the executable program is obtained by compiling program source code, and the debugging information includes a correspondence between the program source code and an executable instruction in the executable program; then, obtaining first configuration information based on the hardware cache event and the debugging information, where the first configuration information includes an identifier of the program source code and a quantity of cache misses corresponding to the identifier; and finally, compiling the program source code based on the first configuration information to obtain a second executable file.

Patent Agency Ranking