REGISTER ALLOCATION OPTIMIZATION USING PER-REGISTER BIN PACKING

    公开(公告)号:US20240370242A1

    公开(公告)日:2024-11-07

    申请号:US18309987

    申请日:2023-05-01

    Abstract: Systems and methods to perform per-register bin packing are disclosed. A system may include a memory and one or more processors coupled to the memory. The one or more processors may determine a first live range of a first variable in a source code and a second live range of a second variable in the source code. The first live range and the second live range may overlap in time during execution of an output code. The one or more processors may generate the output code including a first instruction for the first variable and a second instruction for the second variable. The first instruction may include a first register identifier, a first mask, and a first offset. The second instruction may include the first register identifier, a second mask, and a second offset.

Patent Agency Ranking