-
1.
公开(公告)号:US11740906B2
公开(公告)日:2023-08-29
申请号:US17677413
申请日:2022-02-22
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Maziar Goudarzi , Zhizhao Qian , Reza Azimi , Billy Mengxuan Cai , Man Pok Ho
IPC: G06F9/38 , G06F8/41 , G06F9/30 , G06F9/32 , G06F12/0862
CPC classification number: G06F9/3814 , G06F8/4452 , G06F9/30047 , G06F9/325 , G06F12/0862
Abstract: A method and hardware system to remove the overhead caused by having stream handling instructions in nested loops. Where code contains inner loops, nested in outer loops, a compiler pass identifies qualified nested streams and generates ISA specific instructions for transferring stream information linking an inner loop stream with an outer loop stream, to hardware components of a co-designed prefetcher. The hardware components include a frontend able to decode and execute instructions for a stream linking information transfer mechanism, a stream engine unit with a streams configuration table (SCT) having a field for allowing a subordinate stream to stay pending for values from its master stream, and a stream prefetch manager with buffers for storing values of current elements of a master stream, and with a nested streams control unit for reconfiguring and iterating the streams.