×

Register allocation for graphics processing

  • US 8,933,954 B2
  • Filed: 03/23/2011
  • Issued: 01/13/2015
  • Est. Priority Date: 03/23/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving, with a processor executing a compiler, a program with at least one instruction for graphics processing for operation on at least one non-scalar value, wherein the at least one non-scalar value comprises a value that cannot be stored in a single physical register of a specified size;

    dividing, with the processor executing the compiler, the at least one instruction for operation on the at least one non-scalar value into a plurality of instructions for operation on constituent scalar values of the at least one non-scalar value, wherein each one of the constituent scalar values can be stored in the single physical register of the specified size;

    allocating, with the processor executing the compiler, a plurality of physical registers to store the constituent scalar values; and

    recomposing, with the processor executing the compiler, the plurality of instructions for operation on the constituent scalar values into a recomposed instruction for operation on the non-scalar value, wherein the recomposed instruction includes indices to the allocated physical registers.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×