-
公开(公告)号:US20240320141A1
公开(公告)日:2024-09-26
申请号:US18737196
申请日:2024-06-07
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Rutao ZHANG , Di YU , Kai HOU
IPC: G06F12/02
CPC classification number: G06F12/023 , G06F2212/251
Abstract: The present disclosure relates to data processing methods, computer devices, and non-transitory computer-readable storage media. In an example method, at least one processor obtains an instruction sequence of an application program, identifies an execution sequence of read/write instructions in the instruction sequence based on the instruction sequence, and executes the read/write instructions based on the identified execution sequence.
-
公开(公告)号:US20230289187A1
公开(公告)日:2023-09-14
申请号:US18320039
申请日:2023-05-18
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Di YU , Yandong LV , Rutao ZHANG
CPC classification number: G06F9/30192 , G06F9/3004 , G06F9/3855
Abstract: This application relates to the field of computer technologies, and discloses methods and apparatuses, for example, for rectifying a weak memory ordering problem. An example method includes: determining a read/write instruction set in to-be-repaired code; classifying instructions in the read/write instruction set to determine a target instruction; and inserting a memory barrier instruction between a previous read/write instruction of the target instruction and the target instruction. The read/write instruction set includes a read instruction and/or a write instruction in the to-be-repaired code, and an instruction in the read/write instruction set is used for memory access.
-