diff options
author | Tom Stellard <[email protected]> | 2012-05-08 10:27:30 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-08 15:47:46 -0400 |
commit | 94e797d0faed18dfa80bcce7a6d03ef369b6a820 (patch) | |
tree | d63e5a68256f54fe68ab29042b2b3d4cfe35be7b /src/gallium/drivers/radeon/R600Instructions.td | |
parent | 4226433625f7f1cbfff0503397adf74c6076b7f4 (diff) |
radeon/llvm: Use a custom inserter to lower STORE_OUTPUT
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index b462a05ea24..99e4b4fd0b8 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -998,6 +998,13 @@ def LOAD_INPUT : AMDGPUShaderInst < [(set R600_Reg32:$dst, (int_R600_load_input imm:$src))] >; +def STORE_OUTPUT: AMDGPUShaderInst < + (outs R600_Reg32:$dst), + (ins R600_Reg32:$src0, i32imm:$src1), + "STORE_OUTPUT $dst, $src0, $src1", + [(set R600_Reg32:$dst, (int_AMDGPU_store_output R600_Reg32:$src0, imm:$src1))] +>; + } // End usesCustomInserter = 1, isPseudo = 1 } // End isCodeGenOnly = 1 |