US 12,468,531 B2
Data processing method and apparatus, and related product
Xuyan Ma, Hefei (CN); Jianhua Wu, Hefei (CN); Shaoli Liu, Hefei (CN); Xiangxuan Ge, Hefei (CN); Hanbo Liu, Hefei (CN); and Lei Zhang, Hefei (CN)
Assigned to ANHUI CAMBRICON INFORMATION TECHNOLOGY CO., LTD., Hefei (CN)
Appl. No. 17/619,774
Filed by Anhui Cambricon Information Technology Co., Ltd., Hefei (CN)
PCT Filed Apr. 28, 2021, PCT No. PCT/CN2021/090648
§ 371(c)(1), (2) Date Oct. 3, 2022,
PCT Pub. No. WO2021/223642, PCT Pub. Date Nov. 11, 2021.
Claims priority of application No. 202010382523.2 (CN), filed on May 8, 2020.
Prior Publication US 2024/0126548 A1, Apr. 18, 2024
Int. Cl. G06F 9/30 (2018.01); G06N 20/00 (2019.01)
CPC G06F 9/30043 (2013.01) [G06F 9/30036 (2013.01); G06F 9/30047 (2013.01); G06N 20/00 (2019.01)] 9 Claims
OG exemplary drawing
 
1. A data processing method, comprising:
determining a source data address and a plurality of discrete destination data addresses of data corresponding to a decoded processing instruction when the decoded processing instruction is a discrete store instruction, wherein the source data address comprises continuous data addresses; and
obtaining a plurality of pieces of discrete data by sequentially storing data read from the source data address to the plurality of destination data addresses,
wherein determining the source data address and the plurality of discrete destination data addresses of the data corresponding to the decoded processing instruction when the decoded processing instruction is the discrete store instruction includes:
determining source data addresses of a plurality of pieces of data according to source data base addresses and data sizes of the plurality of pieces of data in an operation field of the processing instruction, wherein each of the data sizes indicates a count of bits at each of the source data addresses, and
determining the plurality of destination data addresses respectively according to destination data base addresses and data offset addresses of a plurality of pieces of data in an operation field of the processing instruction.