-
公开(公告)号:US11327762B2
公开(公告)日:2022-05-10
申请号:US17036596
申请日:2020-09-29
Inventor: Chao Tang , Xueliang Du , Yingnan Xu
Abstract: An instruction prefetching method, a device and a medium are provided. The method includes the following: instructions in a target buffer are precompiled before a processor core fetches a required instruction from the target buffer corresponding to the processor core; if it is determined that a jump instruction exists in the target buffer and a jump target instruction corresponding to the jump instruction is not cached in the target buffer according to a precompiled result, the jump target instruction is prefetched from an icache into a candidate buffer corresponding to the processor core to wait for the processor core to fetch the jump target instruction from the candidate buffer; the target buffer and the candidate buffer are alternately reused during instruction prefetching.
-
2.
公开(公告)号:US20200050481A1
公开(公告)日:2020-02-13
申请号:US16506099
申请日:2019-07-09
Inventor: Jian Ouyang , Xueliang Du , Yingnan Xu , Huimin Li
Abstract: Disclosed are a computing method applied to an artificial intelligence chip and the artificial intelligence chip. The method includes: a target processor core generating, in response to determining a computational identifier obtained by decoding a to-be-executed instruction being a preset complex computational identifier, a complex computational instruction using the computational identifier and at least one operand obtained by decoding, and adding the generated complex computational instruction to a complex computational instruction queue; and a computational accelerator selecting a complex computational instruction from the complex computational instruction queue, executing a complex computation indicated by the complex computational identifier in the selected complex computational instruction using the at least one operand in the selected complex computational instruction as an inputted parameter, to obtain computational result; and writing the obtained computational result as a complex computational result into a complex computational result queue.
-
公开(公告)号:US11243767B2
公开(公告)日:2022-02-08
申请号:US17018424
申请日:2020-09-11
Inventor: Chao Tang , Xueliang Du , Yingnan Xu , Kang An
IPC: G06F9/30 , G06F9/38 , G06F9/54 , G06F12/0868 , G06F12/0875 , G06F12/0893
Abstract: A caching device, an instruction cache, a system for processing an instruction, a method and apparatus for processing data and a medium are provided. The caching device includes a first queue, a second queue, a write port group, a read port, a first pop-up port, a second pop-up port and a press-in port. The is configured to write cache data into a set storage address in the first queue and/or the second queue; the read port is configured to read all cache data from the first queue and/or the second queue at one time; the press-in port is configured to press cache data into the first queue and/or the second queue; the first pop-up port is configured to pop up cache data from the first queue; and the second pop-up port is configured to pop up cache data from the second queue.
-
公开(公告)号:US20210271475A1
公开(公告)日:2021-09-02
申请号:US17018424
申请日:2020-09-11
Inventor: Chao Tang , Xueliang Du , Yingnan Xu , Kang An
Abstract: A caching device, an instruction cache, a system for processing an instruction, a method and apparatus for processing data and a medium are provided. The caching device includes a first queue, a second queue, a write port group, a read port, a first pop-up port, a second pop-up port and a press-in port. The is configured to write cache data into a set storage address in the first queue and/or the second queue; the read port is configured to read all cache data from the first queue and/or the second queue at one time; the press-in port is configured to press cache data into the first queue and/or the second queue; the first pop-up port is configured to pop up cache data from the first queue; and the second pop-up port is configured to pop up cache data from the second queue.
-
公开(公告)号:US11782722B2
公开(公告)日:2023-10-10
申请号:US17149476
申请日:2021-01-14
Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD. , KUNLUNXIN TECHNOLOGY (BEIJING) COMPANY LIMITED
Inventor: Baofu Zhao , Xueliang Du , Kang An , Yingnan Xu , Chao Tang
IPC: G06F9/38
CPC classification number: G06F9/3877 , G06F9/3836
Abstract: A complex computing device, a complex computing method, an artificial intelligence chip and an electronic apparatus are provided. An input interface receives complex computing instructions and arbitrates each complex computing instruction to a corresponding computing component respectively, according to the computing types in the respective complex computing instructions Each computing component is connected to the input interface, acquires a source operand from a complex computing instruction to perform complex computing, and generates a computing result instruction to feed back to an output interface. The output interface arbitrates the computing result in each computing result instruction to the corresponding instruction source respectively, according to the instruction source identifier in each computing result instruction.
-
6.
公开(公告)号:US20210271482A1
公开(公告)日:2021-09-02
申请号:US17210616
申请日:2021-03-24
Inventor: Yingnan Xu , Jian Ouyang , Xueliang Du , Kang An
Abstract: Example embodiments of the present application provide an instruction executing method and apparatus, an electronic device, and a computer-readable storage medium that may be applied in the field of artificial intelligence. The instruction executing method may include: executing an instruction sequence that includes memory instructions and non-memory instructions, the instructions in the sequence executed starting to be executed in order; determining that execution of a first memory instruction needs to be completed before a second memory instruction starts to be executed, the second memory instruction being a next memory instruction following the first memory instruction in the instruction sequence; and executing non-memory instructions between the first memory instruction and the second memory instruction without executing the second memory instruction, during a cycle of executing the first memory instruction.
-
7.
公开(公告)号:US11748108B2
公开(公告)日:2023-09-05
申请号:US17210616
申请日:2021-03-24
Applicant: Beijing Baidu Netcom Science and Technology Co., Ltd. , Kunlunxin Technology (Beijing) Company Limited
Inventor: Yingnan Xu , Jian Ouyang , Xueliang Du , Kang An
CPC classification number: G06F9/3834 , G06F9/30087 , G06F9/3838
Abstract: Example embodiments of the present application provide an instruction executing method and apparatus, an electronic device, and a computer-readable storage medium that may be applied in the field of artificial intelligence. The instruction executing method may include: executing an instruction sequence that includes memory instructions and non-memory instructions, the instructions in the sequence executed starting to be executed in order; determining that execution of a first memory instruction needs to be completed before a second memory instruction starts to be executed, the second memory instruction being a next memory instruction following the first memory instruction in the instruction sequence; and executing non-memory instructions between the first memory instruction and the second memory instruction without executing the second memory instruction, during a cycle of executing the first memory instruction.
-
公开(公告)号:US11169718B2
公开(公告)日:2021-11-09
申请号:US16853617
申请日:2020-04-20
Inventor: Yingnan Xu , Xueliang Du
IPC: G06F3/06
Abstract: Embodiments of the present disclosure relate to a data access method and apparatus, an electronic device, and a computer-readable storage medium. The method may include, in response to receiving a first access request sent from a first access device in a set of access devices to a first storage device in a set of storage devices, sending an updated first access request to the first storage device, the first access request including identity information of the first access device. The method may further include, in response to receiving data from the set of storage devices, determining identity information included in the data. The method may further include, in response to the determined identity information being corresponding to the identity information of the first access device, sending the data to the first access device.
-
-
-
-
-
-
-