-
公开(公告)号:US09329867B2
公开(公告)日:2016-05-03
申请号:US14494240
申请日:2014-09-23
Applicant: QUALCOMM Incorporated
Inventor: Sumesh Udayakumaran , Se Jong Oh
CPC classification number: G06F9/3013 , G06F8/441
Abstract: This disclosure describes techniques for allocating registers in a computing system that supports vector physical registers. The techniques for allocating registers may allocate physical registers to vector virtual registers based on priority information that is indicative of a relative importance of allocating respective vector virtual registers as vectors rather than scalars. The techniques for allocating registers may involve allocating physical registers to the vector virtual registers in an order that is determined based on the priority information. The techniques for allocating registers may further involve, in response to determining that no vector physical registers are available to assign to a vector virtual register, determining whether to perform vector-scalar live interval splitting for the vector virtual register, spill other register live intervals into a memory in order to allocate the vector virtual register as a vector, or assign scalar physical registers to the vector virtual register based on the priority information.
Abstract translation: 本公开描述了在支持向量物理寄存器的计算系统中分配寄存器的技术。 用于分配寄存器的技术可以基于指示将各个向量虚拟寄存器分配为向量而不是标量的相对重要性的优先级信息来将物理寄存器分配给向量虚拟寄存器。 用于分配寄存器的技术可以包括以基于优先级信息确定的顺序向物理寄存器分配物理寄存器。 用于分配寄存器的技术还可以响应于确定没有向量物理寄存器可用于分配给向量虚拟寄存器,确定是否对向量虚拟寄存器执行向量标量的实时间隔分割,将其他寄存器实时间隔溢出 存储器,以便将向量虚拟寄存器分配为向量,或者基于优先级信息将标量物理寄存器分配给向量虚拟寄存器。
-
公开(公告)号:US20150193234A1
公开(公告)日:2015-07-09
申请号:US14494240
申请日:2014-09-23
Applicant: QUALCOMM Incorporated
Inventor: Sumesh Udayakumaran , Se Jong Oh
IPC: G06F9/30
CPC classification number: G06F9/3013 , G06F8/441
Abstract: This disclosure describes techniques for allocating registers in a computing system that supports vector physical registers. The techniques for allocating registers may allocate physical registers to vector virtual registers based on priority information that is indicative of a relative importance of allocating respective vector virtual registers as vectors rather than scalars. The techniques for allocating registers may involve allocating physical registers to the vector virtual registers in an order that is determined based on the priority information. The techniques for allocating registers may further involve, in response to determining that no vector physical registers are available to assign to a vector virtual register, determining whether to perform vector-scalar live interval splitting for the vector virtual register, spill other register live intervals into a memory in order to allocate the vector virtual register as a vector, or assign scalar physical registers to the vector virtual register based on the priority information.
Abstract translation: 本公开描述了在支持向量物理寄存器的计算系统中分配寄存器的技术。 用于分配寄存器的技术可以基于指示将各个向量虚拟寄存器分配为向量而不是标量的相对重要性的优先级信息来将物理寄存器分配给向量虚拟寄存器。 用于分配寄存器的技术可以包括以基于优先级信息确定的顺序向物理寄存器分配物理寄存器。 用于分配寄存器的技术还可以包括响应于确定没有向量物理寄存器可用于分配给向量虚拟寄存器,确定是否对向量虚拟寄存器执行矢量标量的实时间隔分割,将其他寄存器实时间隔溢出 存储器,以便将向量虚拟寄存器分配为向量,或者基于优先级信息将标量物理寄存器分配给向量虚拟寄存器。
-