Invention Grant
- Patent Title: Method and apparatus for retaining optimal width vector operations in arbitrary/flexible vector width architecture
-
Application No.: US17125304Application Date: 2020-12-17
-
Publication No.: US11714619B2Publication Date: 2023-08-01
- Inventor: Amruth Sandhupatla , Ramshankar Ramanarayanan , Boris Kravchenko , Ahmed Mohammed Elshafiey Mohammed Eltantawy
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06F9/30

Abstract:
A method and apparatus to optimize a list of vector instructions using dynamic programming, in particular memoization, by generating a table containing instruction subvectors having individual (parts), contiguous (superparts) and repeated (broadcasts) lanes. Because the instructions in the table are subvectors selected to have individual, contiguous and repeated lanes in the registers, compiler optimizations can be enhanced. Introduction of such dynamic programming allows for speculative lane optimizations, as well as improved analysis-guided optimizations, either of which can be performed alone or in combination with other optimizations, whether or not they make use of dynamic programming.
Public/Granted literature
Information query