Re: [Mesa-dev] [PATCH] [RFC] R600: rework handling of the constants

2012-12-20 Thread Vadim Girlin
On Thu, 2012-12-20 at 07:32 -0800, Tom Stellard wrote: > On Thu, Dec 20, 2012 at 04:47:50PM +0400, Vadim Girlin wrote: > > Remove Cxxx registers, add new special register - "ALU_CONST" and new > > operand for each alu src - "sel". ALU_CONST is used to designate that the > > new operand contains the

Re: [Mesa-dev] [PATCH] [RFC] R600: rework handling of the constants

2012-12-20 Thread Tom Stellard
On Thu, Dec 20, 2012 at 04:47:50PM +0400, Vadim Girlin wrote: > Remove Cxxx registers, add new special register - "ALU_CONST" and new > operand for each alu src - "sel". ALU_CONST is used to designate that the > new operand contains the value to override src.sel, src.kc_bank, src.chan > for constan

[Mesa-dev] [PATCH] [RFC] R600: rework handling of the constants

2012-12-20 Thread Vadim Girlin
Remove Cxxx registers, add new special register - "ALU_CONST" and new operand for each alu src - "sel". ALU_CONST is used to designate that the new operand contains the value to override src.sel, src.kc_bank, src.chan for constants in the driver. --- .../AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp