[llvm-branch-commits] [llvm-branch] r165152 - /llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
Tom Stellard
thomas.stellard at amd.com
Wed Oct 3 13:49:29 PDT 2012
Author: tstellar
Date: Wed Oct 3 15:49:29 2012
New Revision: 165152
URL: http://llvm.org/viewvc/llvm-project?rev=165152&view=rev
Log:
R600: Add support for v4i32 global stores
Modified:
llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
Modified: llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td?rev=165152&r1=165151&r2=165152&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/R600Instructions.td Wed Oct 3 15:49:29 2012
@@ -1083,6 +1083,12 @@
(RAT_WRITE_CACHELESS_128_eg R600_Reg128:$val, R600_TReg32_X:$ptr, 0)
>;
+// v4i32 global store
+def : Pat <
+ (global_store (v4i32 R600_Reg128:$val), R600_TReg32_X:$ptr),
+ (RAT_WRITE_CACHELESS_128_eg R600_Reg128:$val, R600_TReg32_X:$ptr, 0)
+>;
+
class VTX_READ_eg <bits<8> buffer_id, dag outs, list<dag> pattern>
: InstR600ISA <outs, (ins MEMxi:$ptr), "VTX_READ_eg $dst, $ptr", pattern> {
More information about the llvm-branch-commits
mailing list