Data Processing Method and Related Apparatus

    公开(公告)号:US20240176914A1

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

    申请号:US18436711

    申请日:2024-02-08

    CPC classification number: G06F21/78 G06F21/54

    Abstract: A data processing method includes obtaining target constant data to be accessed in first code, where a length of the target constant data is greater than a preset threshold; and inserting a plurality of data transfer instructions into the first code based on a location of an objective function in the first code to obtain second code, where the objective function is a function that needs to access the target constant data, each data transfer instruction of the plurality of data transfer instructions includes a part of data in the target constant data, the plurality of data transfer instructions are used to write the target constant data into a register, and the second code is labeled as being stored into a storage area not having a read permission.

Patent Agency Ranking